Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.67MB] [CPU: ▼18.20ms] Passed 4 tests
An overview of server-side resources used by KurocoEdge
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.26 ▼2.59 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.83 ▼3.44 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.02 ▼1.37 |
Add New Post /wp-admin/post-new.php | 3.15 ▼2.74 | 37.17 ▼65.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.31 ▲3.52 |
KurocoEdge /wp-admin/options-general.php?page=kurocoedge_settings | 3.27 | 32.93 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for KurocoEdge
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.26 ▼1.12 | 1.67 ▼0.03 | 41.84 ▼6.26 |
Dashboard /wp-admin | 2,210 ▲21 | 5.04 ▲0.14 | 111.08 ▼0.83 | 42.19 ▼0.97 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▼0.01 | 39.23 ▲2.45 | 35.49 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.10 ▲0.60 | 647.54 ▲13.64 | 63.43 ▲7.41 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.18 ▼0.04 | 95.90 ▲1.57 | 41.19 ▼1.66 |
KurocoEdge /wp-admin/options-general.php?page=kurocoedge_settings | 963 | 2.08 | 28.52 | 31.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/kurocoedge/kurocoedge.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kurocoedge/admin/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kurocoedge/admin/index.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: efficiency, speed, website, kuroco, cdn...
kurocoedge/kurocoedge.php Passed 13 tests
The principal PHP file in "KurocoEdge" v. 1.0.2 is loaded by WordPress automatically on each request
41 characters long description:
Use KurocoEdge on your WordPress website.
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
Success! There were no dangerous files found in this plugin476 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 66 | 50 | 316 |
JavaScript | 1 | 14 | 0 | 107 |
Markdown | 1 | 13 | 0 | 50 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
There are no PNG files in this plugin