Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.99ms] Passed 4 tests
A check of server-side resources used by Kuroneko Daikin Atobarai Service for Woo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.18 ▼4.02 |
Dashboard /wp-admin | 3.49 ▲0.18 | 47.17 ▼5.91 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.61 ▲8.81 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.35 ▼7.11 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.74 ▲1.07 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kuroneko Daikin Atobarai Service for Woo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.35 ▲0.19 | 1.66 ▼0.01 | 40.48 ▼7.09 |
Dashboard /wp-admin | 2,210 ▲39 | 5.80 ▲0.14 | 84.50 ▼16.00 | 39.04 ▼4.79 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.29 ▲0.28 | 33.78 ▼5.59 | 32.72 ▼5.96 |
Add New Post /wp-admin/post-new.php | 1,538 ▲8 | 23.21 ▲0.22 | 664.37 ▲48.47 | 35.97 ▼22.18 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.42 ▲0.20 | 103.13 ▲6.17 | 42.42 ▲2.40 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/yamato-atobarai-for-woo/includes/kuatowc-functions.php:308
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Requires php: Invalid plugin version format
yamato-atobarai-for-woo/kuroneko-atobarai.php 77% from 13 tests
The principal PHP file in "Kuroneko Daikin Atobarai Service for Woo" v. 1.1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("5.5" instead of "3.5")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("yamato-atobarai-for-woo.php" instead of "kuroneko-atobarai.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
Success! There were no dangerous files found in this plugin3,134 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 448 | 678 | 2,673 |
PO File | 1 | 99 | 7 | 226 |
CSS | 1 | 1 | 0 | 124 |
JavaScript | 3 | 18 | 0 | 111 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 15 | 17.05% |
▷ Public methods | 84 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.55% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 27 | |
▷ Global constants | 5 | 18.52% |
▷ Class constants | 22 | 81.48% |
▷ Public constants | 22 | 100.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 are no PNG files in this plugin