Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.84ms] Passed 4 tests
A check of server-side resources used by JK Development Console
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 31.99 ▲1.77 |
Dashboard /wp-admin | 3.08 ▲0.02 | 38.10 ▼9.60 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 44.15 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 87.16 ▼570.64 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 36.06 ▼6.48 |
Server storage [IO: ▲8.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 297 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by JK Development Console
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,777 ▲181 | 16.00 ▲0.48 | 12.04 ▲0.59 | 45.83 ▼7.40 |
Dashboard /wp-admin | 3,026 ▲92 | 5.91 ▼0.07 | 137.85 ▼16.11 | 122.93 ▲9.21 |
Posts /wp-admin/edit.php | 2,820 ▲81 | 2.70 ▼0.02 | 63.37 ▼12.41 | 89.55 ▲0.51 |
Add New Post /wp-admin/post-new.php | 2,138 ▲455 | 24.74 ▲5.81 | 391.53 ▼73.43 | 103.81 ▼39.24 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.02 ▼0.00 | 146.06 ▼14.93 | 128.52 ▲9.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/jk-development-console/dev-console-settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/jk-development-console/dev-console-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
7 plugin tags: custom, css, ajax, console, js...
jk-development-console/dev-console.php 92% from 13 tests
The main PHP script in "JK Development Console" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("jk-development-console.php" instead of "dev-console.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected714 lines of code in 295 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 289 | 28 | 4 | 422 |
CSS | 2 | 19 | 4 | 110 |
SVG | 1 | 1 | 1 | 95 |
PHP | 3 | 19 | 12 | 87 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin