Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼4.73ms] Passed 4 tests
A check of server-side resources used by WP Optin Plugin by optinopoli™ — Best Wordpress Plugin for Email Capture & Lead Generation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.06 ▼10.74 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.51 ▼4.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.72 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.57 ▼1.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.68 ▼2.02 |
Optinopoli /wp-admin/options-general.php?page=optinopoli/optinopoli.php | 3.21 | 30.43 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Optin Plugin by optinopoli™ — Best Wordpress Plugin for Email Capture & Lead Generation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.12 ▼0.48 | 1.78 ▼0.21 | 44.96 ▲1.68 |
Dashboard /wp-admin | 2,199 ▲22 | 5.63 ▲0.11 | 84.44 ▼7.61 | 42.37 ▼1.01 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.02 | 36.23 ▼0.17 | 39.73 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.08 ▼0.01 | 658.84 ▼5.29 | 54.71 ▲0.87 |
Media Library /wp-admin/upload.php | 1,401 ▲7 | 4.15 ▼0.05 | 101.95 ▼6.90 | 47.54 ▲2.29 |
Optinopoli /wp-admin/options-general.php?page=optinopoli/optinopoli.php | 825 | 2.00 | 26.93 | 33.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optinopoli/inc/options.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/optinopoli/optinopoli.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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 your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
optinopoli/optinopoli.php 92% from 13 tests
Analyzing the main PHP file in "WP Optin Plugin by optinopoli™ — Best Wordpress Plugin for Email Capture & Lead Generation" version 1.1.4
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 285 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin60 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 25 | 60 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin