The Webform module offers a standard set of basic statistics on components that receive user input data. For our IMEI component we will implement an analysis that shows how many blank and non-blank entries have been submitted to our component.
If we had access to a complete TAC (Type Allocation Code) database, we might have been able to report on the number of submissions we have received per mobile telephone manufacturer and global regions based on the first group of eight digits. Unfortunately the TAC data is not widely accessible, so we are somewhat limited.
Let's code the function that will perform the database analysis of our IMEI component:
/** * Implements _webform_analysis_component(). */ function ...