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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.54ms] Passed 4 tests
An overview of server-side resources used by Stunning popups to increase conversion or capture subscribers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.02 ▼4.66 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.04 ▼0.59 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 47.47 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.80 ▼10.90 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.11 ▲0.37 |
ConvKit /wp-admin/themes.php?page=convkit | 3.39 | 30.70 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stunning popups to increase conversion or capture subscribers
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.34 ▼1.03 | 1.54 ▼0.24 | 42.15 ▼2.52 |
Dashboard /wp-admin | 2,211 ▲20 | 4.87 ▼1.02 | 105.78 ▼11.53 | 39.33 ▼7.18 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.02 | 35.74 ▼1.52 | 32.44 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,521 ▲2 | 23.26 ▲0.12 | 608.90 ▼55.40 | 57.83 ▲9.16 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.30 ▲0.03 | 94.86 ▼5.50 | 42.54 ▲0.16 |
ConvKit /wp-admin/themes.php?page=convkit | 861 | 1.73 | 25.98 | 32.74 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/conversion-tool-by-convkit/templates/ConvKitAdminSettingsPage.tpl.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Screenshots: These screenshots require images: #1 (Campaign list), #2 (Where to display my campaign?), #3 (Widget editor), #4 (Widget statistics)
- Tags: You are using too many tags: 14 tag instead of maximum 10
conversion-tool-by-convkit/convkit.php 85% from 13 tests
The main file in "Stunning popups to increase conversion or capture subscribers" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("conversion-tool-by-convkit.php" instead of "convkit.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin391 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 74 | 46 | 234 |
Markdown | 1 | 25 | 0 | 61 |
JavaScript | 1 | 7 | 0 | 52 |
PO File | 1 | 13 | 17 | 41 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 3 | 15.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 2 | 14.29% |
▷ Class constants | 12 | 85.71% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/convkit-logo-web.png | 7.81KB | 3.57KB | ▼ 54.21% |