Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.99ms] Passed 4 tests
Server-side resources used by Quick Popup Anything
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.22 ▲0.66 |
Dashboard /wp-admin | 3.42 ▲0.11 | 44.31 ▼4.12 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.41 ▲1.03 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.44 ▼5.53 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.02 ▲3.25 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-comments |
miqpa_editor_content |
miqpa_popup_width |
db_upgraded |
theysaidso_admin_options |
miqpa_button_label |
widget_theysaidso_widget |
miqpa_button_hover_color |
miqpa_button_hover_bg |
miqpa_button_color |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Popup Anything
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,067 ▲332 | 13.79 ▼0.59 | 8.90 ▲6.92 | 43.36 ▼6.64 |
Dashboard /wp-admin | 2,264 ▲79 | 5.98 ▲0.08 | 101.52 ▼17.16 | 35.92 ▼6.96 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.32 ▲0.26 | 41.84 ▲5.11 | 35.31 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.42 ▲0.26 | 664.78 ▼4.30 | 36.03 ▼27.21 |
Media Library /wp-admin/upload.php | 1,443 ▲55 | 4.47 ▲0.27 | 104.45 ▲5.84 | 45.53 ▼0.86 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-popup-anything/includes/front-popup.php:184
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/quick-popup-anything/includes/set-options.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-popup-anything/includes/admin-settings.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-popup-anything/includes/load-scripts.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-popup-anything/includes/admin-menu.php:17
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: marketing, advertising, popup maker, wp popup, wordpress popup...
quick-popup-anything/quick-popup-anything.php 92% from 13 tests
The principal PHP file in "Quick Popup Anything" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,279 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 385 | 173 | 1,386 |
PHP | 7 | 63 | 169 | 447 |
CSS | 3 | 43 | 19 | 446 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected