Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼2.36ms] Passed 4 tests
This is a short check of server-side resources used by PopForms Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 40.79 ▲1.86 |
Dashboard /wp-admin | 3.58 ▲0.27 | 46.95 ▼3.77 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 40.89 ▼11.68 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 115.69 ▲4.14 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 34.79 ▲6.62 |
Recommended Plugins /wp-admin/admin.php?page=popforms-recommended-plugin | 3.44 | 30.10 |
Settings /wp-admin/admin.php?page=popforms-setting-admin | 3.48 | 35.16 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
popforms_option_name |
recovery_mode_email_last_sent |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
PopForms Lite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,173 ▲427 | 15.42 ▲0.82 | 53.97 ▲52.17 | 62.88 ▲18.51 |
Dashboard /wp-admin | 2,236 ▲45 | 4.84 ▼1.22 | 99.70 ▼26.62 | 39.23 ▼6.42 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.06 ▲0.05 | 40.67 ▼9.51 | 36.58 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,555 ▲21 | 23.22 ▲0.06 | 625.06 ▼10.56 | 52.06 ▼9.08 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.32 ▲0.09 | 97.09 ▼3.46 | 42.39 ▼1.47 |
Recommended Plugins /wp-admin/admin.php?page=popforms-recommended-plugin | 702 | 1.14 | 6.99 | 17.51 |
Settings /wp-admin/admin.php?page=popforms-setting-admin | 1,450 | 2.64 | 69.00 | 53.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- popforms_option_name
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=popforms-recommended-plugin
- > Error in wp-content/plugins/popforms-lite/admin/admin.php+58
Uncaught Error: Class 'Quicknav\Orgaddons\Org_Addons' not found in wp-content/plugins/popforms-lite/admin/admin.php:58
Stack trace:
#0 wp-includes/class-wp-hook.php(310): popformsSettingsPage->recommended_plugin_submenu_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/popforms-lite/inc/pop-functions.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/popforms-lite/admin/admin.php:628
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/popforms-lite/inc/pop-enqueue.php:47
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/popforms-lite/inc/subscribe-form/pop-subscribe-form.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/popforms-lite/inc/contact-form/pop-contact-form.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/popforms-lite/inc/subscribe-form/pop-subscribe-button.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/popforms-lite/inc/contact-form/pop-contact-button.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (/assets/screenshot-1.jpg), #2 (/assets/screenshot-2.jpg), #3 (/assets/screenshot-3.jpg), #4 (/assets/Screenshot_4.png)
popforms-lite/popform-lite.php 85% from 13 tests
Analyzing the main PHP file in "PopForms Lite" version 1.5.1
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("popforms-lite.php" instead of "popform-lite.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,851 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 269 | 220 | 1,313 |
JavaScript | 6 | 183 | 297 | 1,124 |
SVG | 2 | 0 | 0 | 943 |
CSS | 4 | 45 | 76 | 471 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 5 | 13.89% |
▷ Public methods | 33 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.33% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin