Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.36ms] Passed 4 tests
An overview of server-side resources used by ClimbPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.44 ▼1.16 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.28 ▼6.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.59 ▼2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.55 ▼5.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.62 ▼6.63 |
Server storage [IO: ▲0.34MB] [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: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ClimbPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.22 | 1.82 ▼0.02 | 39.08 ▼4.92 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▼0.13 | 100.80 ▼3.16 | 41.20 ▼5.34 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.04 ▲0.02 | 34.73 ▼1.69 | 29.80 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.50 ▲5.12 | 662.92 ▲74.89 | 69.25 ▲9.74 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.06 | 98.86 ▼0.77 | 41.23 ▲0.31 |
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 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Model\\GradingSystem\\AbsGradingSystem' not found in wp-content/plugins/climbpress/classes/Model/GradingSystem/Hueco.php:7
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Component' not found in wp-content/plugins/climbpress/classes/Menu.php:11
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Database' not found in wp-content/plugins/climbpress/classes/Store/GradingSystemsSource.php:21
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Component' not found in wp-content/plugins/climbpress/classes/Assets.php:7
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Model\\GradingSystem\\AbsGradingSystem' not found in wp-content/plugins/climbpress/classes/Model/GradingSystem/Fontainebleau.php:7
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Model\\GradingSystem\\AbsGradingSystem' not found in wp-content/plugins/climbpress/classes/Model/GradingSystem/French.php:7
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Component' not found in wp-content/plugins/climbpress/classes/RouteMetaController.php:8
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Component' not found in wp-content/plugins/climbpress/classes/Export.php:12
- > PHP Fatal error
Uncaught Error: Class 'ClimbPress\\Components\\Database' not found in wp-content/plugins/climbpress/classes/Store/RoutesSource.php:11
- > PHP Fatal error
Uncaught Error: Interface 'ClimbPress\\View\\IView' not found in wp-content/plugins/climbpress/classes/View/GradingScalesTable.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: database, climbing, management
climbpress/plugin.php 92% from 13 tests
The main file in "ClimbPress" v. 0.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("climbpress.php" instead of "plugin.php")
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
No dangerous file extensions were detected2,847 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 560 | 544 | 2,460 |
JavaScript | 6 | 26 | 0 | 206 |
PO File | 2 | 45 | 48 | 129 |
CSS | 2 | 8 | 0 | 31 |
JSON | 2 | 0 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 4 | 11.76% |
▷ Concrete classes | 30 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 166 | |
▷ Static methods | 27 | 16.27% |
▷ Public methods | 150 | 90.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 9.64% |
Functions | 53 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 53 | 100.00% |
Constants | 17 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 17 | 100.00% |
▷ Public constants | 17 | 100.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
There were not PNG files found in your plugin