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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.13ms] Passed 4 tests
Analyzing server-side resources used by Popup Builder for Lead Generation by OptinMagic - Generate Leads, Increase Sale and Grow Mailing List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.05 ▼5.78 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.75 ▼13.81 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.92 ▼0.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.45 ▼0.76 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.07 ▲2.69 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup Builder for Lead Generation by OptinMagic - Generate Leads, Increase Sale and Grow Mailing List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.21 ▼1.04 | 1.70 ▼0.02 | 40.78 ▼3.13 |
Dashboard /wp-admin | 2,222 ▲34 | 4.88 ▼0.94 | 113.17 ▼1.74 | 45.88 ▼2.02 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▲0.01 | 40.45 ▲4.68 | 37.04 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.58 ▲6.04 | 590.32 ▼49.09 | 57.54 ▲1.54 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.17 ▼0.02 | 95.07 ▼4.98 | 42.45 ▼0.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/optinmagic/optinmagic.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
optinmagic/optinmagic.php 85% from 13 tests
"Popup Builder for Lead Generation by OptinMagic - Generate Leads, Increase Sale and Grow Mailing List" version 0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Plugin Name: Please shorten the plugin name (currently 101 characters long instead of max. 70)
- Description: The description should be shorter than 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected19,760 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,615 | 2,508 | 19,113 |
PHP | 2 | 49 | 29 | 468 |
CSS | 3 | 3 | 6 | 119 |
PO File | 1 | 20 | 20 | 60 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/opm-logo.png | 9.83KB | 5.81KB | ▼ 40.88% |
images/logo.png | 9.35KB | 8.70KB | ▼ 6.96% |