Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.38ms] Passed 4 tests
This is a short check of server-side resources used by Form Data Collector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.61 ▼2.87 |
Dashboard /wp-admin | 3.46 ▲0.16 | 44.09 ▼10.10 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 48.38 ▼0.13 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 89.15 ▼12.40 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.12 ▲3.20 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_fdc_entries |
wp_fdc_entries_meta |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
fdc_db_version |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Form Data Collector
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲222 | 13.83 ▼0.47 | 5.00 ▲3.17 | 38.47 ▼3.44 |
Dashboard /wp-admin | 2,254 ▲66 | 5.15 ▲0.25 | 120.45 ▲6.43 | 42.32 ▼2.09 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.39 ▲0.34 | 37.99 ▼2.54 | 30.36 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,559 ▲17 | 23.41 ▲5.04 | 662.85 ▲64.02 | 35.39 ▼15.67 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.50 ▲0.22 | 97.66 ▲0.14 | 41.35 ▼1.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_fdc_entries_meta
- wp_fdc_entries
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- fdc_db_version
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: forms, input, form, database, email...
form-data-collector/index.php 85% from 13 tests
"Form Data Collector" version 2.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("form-data-collector.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected4,402 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 2,464 |
PHP | 9 | 435 | 614 | 1,679 |
JavaScript | 5 | 38 | 27 | 238 |
Sass | 2 | 3 | 0 | 19 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 30.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 1 | 1.28% |
▷ Public methods | 55 | 70.51% |
▷ Protected methods | 21 | 26.92% |
▷ Private methods | 2 | 2.56% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin