Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/jumpout/class.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; JumpOut has a deprecated constructor
Server metrics [RAM: ▼1.70MB] [CPU: ▼50.02ms] Passed 4 tests
A check of server-side resources used by JumpOut
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.17 | 7.45 ▼28.48 |
Dashboard /wp-admin | 2.31 ▼0.99 | 7.78 ▼40.01 |
Posts /wp-admin/edit.php | 2.32 ▼1.05 | 7.07 ▼40.24 |
Add New Post /wp-admin/post-new.php | 2.31 ▼3.58 | 7.24 ▼91.36 |
Media Library /wp-admin/upload.php | 2.31 ▼0.92 | 7.95 ▼26.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
JumpOut: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.28 ▼0.44 | 1.64 ▲0.09 | 44.73 ▲4.84 |
Dashboard /wp-admin | 2,214 ▲34 | 5.82 ▲0.17 | 84.23 ▼4.05 | 83.17 ▲37.09 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.15 ▲0.15 | 36.18 ▲1.67 | 34.01 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 22.94 ▼0.59 | 726.81 ▲97.54 | 53.01 ▼7.84 |
Media Library /wp-admin/upload.php | 1,425 ▲28 | 4.23 ▲0.07 | 97.10 ▼4.14 | 74.75 ▲30.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/jumpout/class.php+31
Methods with the same name as their class will not be constructors in a future version of PHP; JumpOut has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jumpout/launch.php
- 19× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/jumpout/templates/list.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jumpout/templates/list.php on line 1
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/jumpout/templates/list.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jumpout/templates/onecode.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jumpout/templates/list.php:125
- > PHP Notice
Undefined variable: data in wp-content/plugins/jumpout/templates/onecode.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jumpout/templates/main_teamplate.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jumpout/templates/onecode.php:29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jumpout/templates/list.php on line 107
- > PHP Notice
Undefined variable: data in wp-content/plugins/jumpout/templates/list.php on line 107
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: popup, jumpout
jumpout/launch.php 92% from 13 tests
The principal PHP file in "JumpOut" v. 3.2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jumpout.php" instead of "launch.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,319 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 453 | 148 | 1,100 |
PO File | 2 | 54 | 106 | 156 |
JavaScript | 1 | 20 | 4 | 41 |
SVG | 1 | 0 | 2 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
Average class complexity | 107.00 |
▷ Minimum class complexity | 80.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 7.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 58.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 41.94% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin