Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by Minchu API Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.46 ▼12.61 |
Dashboard /wp-admin | 3.32 ▲0.01 | 58.14 ▲3.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 56.13 ▼7.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.92 ▼8.76 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 41.53 ▲0.47 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Minchu API Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲157 | 14.47 ▲0.11 | 22.23 ▲20.37 | 44.41 ▲1.35 |
Dashboard /wp-admin | 2,218 ▲30 | 4.87 ▼0.00 | 104.39 ▼12.48 | 43.43 ▲2.12 |
Posts /wp-admin/edit.php | 2,101 ▲5 | 2.00 ▼0.05 | 38.95 ▼4.61 | 39.96 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.20 ▲5.60 | 688.49 ▲5.46 | 53.76 ▲2.84 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.26 ▼0.10 | 108.68 ▲5.44 | 52.02 ▲6.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/minchu-api-manager/templates/page-minchu-car.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minchu-api-manager/minchu-api-manager.php:164
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/minchu-api-manager/templates/page-minchu-cars.php:13
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
minchu-api-manager/minchu-api-manager.php Passed 13 tests
The main file in "Minchu API Manager" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
みんちゅうの車両情報を表示するプラグイン
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin4,161 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 255 | 170 | 1,826 |
CSS | 5 | 50 | 2 | 1,698 |
PHP | 3 | 47 | 84 | 637 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/arrow_left.png | 2.75KB | 2.16KB | ▼ 21.32% |
img/arrow_right.png | 2.80KB | 2.15KB | ▼ 23.29% |
img/icon_back.png | 0.84KB | 0.61KB | ▼ 26.64% |
img/noPhoto.png | 6.64KB | 3.18KB | ▼ 52.08% |
img/icon_close.png | 0.47KB | 0.36KB | ▼ 24.64% |