Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Compile error in wp-content/plugins/wp-jump/framework/classes/class-meta-boxes.php+217
Cannot use $this as parameter
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.52ms] Passed 4 tests
An overview of server-side resources used by WP Jump
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.74 ▼4.58 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.77 ▼4.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.32 ▲1.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.49 ▼6.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.53 ▲2.47 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Jump
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.07 | 1.67 ▼0.10 | 40.16 ▼4.22 |
Dashboard /wp-admin | 2,209 ▲27 | 4.83 ▼1.02 | 96.33 ▼6.24 | 37.07 ▼6.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.01 | 39.20 ▲1.44 | 35.93 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,528 ▼14 | 23.08 ▲4.71 | 589.45 ▼45.79 | 48.63 ▼10.01 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.02 | 94.75 ▼3.07 | 41.12 ▼2.86 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Cannot use $this as parameter in wp-content/plugins/wp-jump/framework/classes/class-meta-boxes.php on line 217
- > PHP Fatal error
Uncaught Error: Class 'WPJump\\Part' not found in wp-content/plugins/wp-jump/parts/Wpjump/Wpjump.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function WPJump\\add_action() in wp-content/plugins/wp-jump/framework/classes/class-setting.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function WPJump\\plugin_dir_path() in wp-content/plugins/wp-jump/wp-jump.php:25
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: navigation, menu, bookmark, multisite
wp-jump/wp-jump.php 92% from 13 tests
The principal PHP file in "WP Jump" v. 1.0.1 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 ("/i18/")
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
Everything looks great! No dangerous files found in this plugin721 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 416 | 468 | 686 |
PO File | 1 | 7 | 9 | 31 |
JavaScript | 2 | 5 | 2 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.38 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 18 | 33.33% |
▷ Public methods | 52 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.70% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin