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.23MB] [CPU: ▼0.43ms] Passed 4 tests
A check of server-side resources used by CS Popup Maker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 25.53 ▼15.52 |
Dashboard /wp-admin | 3.62 ▲0.31 | 60.66 ▲4.51 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 62.78 ▲10.45 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 102.96 ▲6.59 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 38.23 ▲2.71 |
Server storage [IO: ▲4.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
cs-popup |
widget_recent-posts |
theysaidso_admin_options |
cs-popup-html |
Browser metrics Passed 4 tests
Checking browser requirements for CS Popup Maker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,203 ▲442 | 15.60 ▲1.34 | 6.51 ▲4.67 | 39.75 ▼7.17 |
Dashboard /wp-admin | 2,523 ▲343 | 6.87 ▲1.30 | 125.52 ▲32.14 | 58.37 ▲17.67 |
Posts /wp-admin/edit.php | 2,484 ▲384 | 3.50 ▲1.50 | 59.30 ▲18.84 | 50.66 ▲11.41 |
Add New Post /wp-admin/post-new.php | 1,718 ▲183 | 23.36 ▲5.07 | 662.62 ▼16.27 | 62.27 ▼2.55 |
Media Library /wp-admin/upload.php | 1,617 ▲217 | 4.63 ▲0.44 | 94.26 ▼14.84 | 58.70 ▲13.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- cs-popup-html
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- cs-popup
- can_compress_scripts
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cs-popup-maker/public/partials/cs-popup-maker-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cs-popup-maker/admin/partials/cs-popup-maker-admin-display.php:19
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: These screenshots lack descriptions #1, #2 in cs-popup-maker/assets to your readme.txt
cs-popup-maker/cs-popup-maker.php Passed 13 tests
The principal PHP file in "CS Popup Maker" v. 3.0.3 is loaded by WordPress automatically on each request
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected53,210 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 7,970 | 4,673 | 28,579 |
JavaScript | 6 | 1,641 | 703 | 20,850 |
SVG | 3 | 0 | 12 | 2,880 |
PHP | 13 | 306 | 769 | 901 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 2 | 3.08% |
▷ Public methods | 56 | 86.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 13.85% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.11MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/template-1.png | 2.36KB | 1.03KB | ▼ 56.36% |
admin/images/template-5.png | 15.97KB | 0.93KB | ▼ 94.17% |
admin/images/template-6.png | 15.73KB | 0.45KB | ▼ 97.16% |
admin/images/template-2.png | 2.56KB | 1.07KB | ▼ 57.98% |
admin/images/template-4.png | 15.62KB | 0.49KB | ▼ 96.87% |