Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/popslide/popslide.php+113
Undefined variable: args
Server metrics [RAM: ▲0.14MB] [CPU: ▲0.14ms] Passed 4 tests
A check of server-side resources used by Popslide PRO - popup alternative
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.67 ▼3.41 |
Dashboard /wp-admin | 3.45 ▲0.14 | 48.47 ▼2.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.76 ▲3.23 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 94.37 ▲5.02 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.22 ▲3.56 |
Popslide /wp-admin/options-general.php?page=popslide | 3.31 | 30.07 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
popslide_settings |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Popslide PRO - popup alternative: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 13.53 ▼0.84 | 5.88 ▲4.08 | 44.44 ▲6.71 |
Dashboard /wp-admin | 2,213 ▲25 | 5.83 ▲0.93 | 100.14 ▼16.26 | 39.42 ▼9.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.02 | 39.54 ▲3.69 | 34.59 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.07 ▲0.07 | 593.76 ▼30.40 | 52.44 ▼1.76 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▼0.02 | 93.42 ▼3.79 | 41.20 ▼1.73 |
Popslide /wp-admin/options-general.php?page=popslide | 2,583 | 7.83 | 183.69 | 94.17 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=popslide
- > Notice in wp-content/plugins/popslide/backend.php+192
Trying to get property 'rule' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=popslide
- > Notice in wp-content/plugins/popslide/backend.php+278
Undefined property: stdClass::$display
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/popslide/popslide.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: newsletter, bar, popup, popslide, cookie...
popslide/popslide.php Passed 13 tests
The entry point to "Popslide PRO - popup alternative" version 3.0 is a PHP file that has certain tags in its header comment area
24 characters long description:
Best popup slider plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin9,282 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 845 | 962 | 6,943 |
PO File | 7 | 558 | 598 | 1,350 |
PHP | 3 | 217 | 111 | 588 |
Sass | 4 | 67 | 0 | 400 |
CSS | 1 | 1 | 1 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 4 | 18.18% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/close_top_right.png | 3.35KB | 0.33KB | ▼ 90.05% |
assets/images/close_top_left.png | 3.35KB | 0.33KB | ▼ 90.02% |
assets/images/close_bottom_right.png | 3.34KB | 0.33KB | ▼ 90.02% |
assets/images/close_bottom_left.png | 3.34KB | 0.33KB | ▼ 90.08% |
assets/images/position_top.png | 2.95KB | 0.14KB | ▼ 95.33% |