Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.12MB] [CPU: ▼27.46ms] Passed 4 tests
A check of server-side resources used by Kuroneko Web Collect for Woo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▼0.02 | 85.89 ▼11.51 |
Dashboard /wp-admin | 3.33 ▼0.02 | 78.81 ▼52.12 |
Posts /wp-admin/edit.php | 3.38 ▼0.47 | 86.98 ▼3.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 146.95 ▼11.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.55 ▼34.73 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Kuroneko Web Collect for Woo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.34 ▲0.37 | 3.15 ▼0.50 | 71.29 ▼8.45 |
Dashboard /wp-admin | 2,201 ▲24 | 4.89 ▼0.71 | 184.00 ▲23.63 | 118.54 ▲28.21 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.27 ▲0.28 | 71.69 ▲3.61 | 81.95 ▲20.05 |
Add New Post /wp-admin/post-new.php | 1,538 ▲98 | 23.19 ▲5.66 | 782.22 ▼169.09 | 40.49 ▼51.31 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.43 ▲0.24 | 110.78 ▼72.02 | 48.56 ▼45.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/yamato-credit-for-woo/includes/kupaywc-functions.php:190
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Requires php: Invalid version format
yamato-credit-for-woo/kuroneko-pay.php 77% from 13 tests
The primary PHP file in "Kuroneko Web Collect for Woo" version 1.1.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("yamato-credit-for-woo.php" instead of "kuroneko-pay.php")
- Requires at least: The required version number must match the one declared in readme.txt ("5.5" instead of "3.5")
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 detected6,476 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 723 | 1,015 | 5,455 |
PO File | 1 | 195 | 14 | 466 |
JavaScript | 5 | 64 | 12 | 425 |
CSS | 1 | 23 | 0 | 130 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 170.00 |
Average method complexity | 5.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 15 | 10.07% |
▷ Public methods | 140 | 93.96% |
▷ Protected methods | 2 | 1.34% |
▷ Private methods | 7 | 4.70% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 30 | |
▷ Global constants | 5 | 16.67% |
▷ Class constants | 25 | 83.33% |
▷ Public constants | 25 | 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
No PNG images were found in this plugin