Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.03MB] [CPU: ▼17.25ms] Passed 4 tests
An overview of server-side resources used by Simplified Japanese
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 38.28 ▼5.01 |
Dashboard /wp-admin | 3.37 ▲0.06 | 30.20 ▼17.71 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 35.65 ▼13.07 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 62.37 ▼33.19 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 34.40 ▲0.43 |
Simplified japanese /wp-admin/options-general.php?page=simplified_japanese | 3.36 | 28.19 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simplified Japanese
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 14.48 ▲0.08 | 1.71 ▼0.12 | 37.66 ▼12.72 |
Dashboard /wp-admin | 2,210 ▲22 | 5.81 ▼0.04 | 104.10 ▼9.28 | 39.28 ▼2.69 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.02 | 40.90 ▼1.15 | 35.70 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,685 ▲151 | 22.08 ▼1.08 | 666.95 ▼45.96 | 47.02 ▼16.38 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.23 ▼0.03 | 99.13 ▼6.60 | 40.56 ▼5.87 |
Simplified japanese /wp-admin/options-general.php?page=simplified_japanese | 930 | 2.17 | 22.66 | 29.88 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=simplified_japanese
- > Notice in wp-content/plugins/simplified-japanese/simplified-japanese.php+126
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simplified-japanese/class.tsutaeru-web.php
- > /wp-content/plugins/simplified-japanese/simplified-japanese.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: gutenberg, classic editor, editor
simplified-japanese/simplified-japanese.php 92% from 13 tests
This is the main PHP file of "Simplified Japanese" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("5.4" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin2,142 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 66 | 67 | 1,028 |
PHP | 4 | 60 | 39 | 953 |
PO File | 1 | 66 | 84 | 148 |
JSON | 9 | 0 | 0 | 9 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 93.50 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 7.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 15 | 50.00% |
▷ Public methods | 18 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 40.00% |
Functions | 14 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 14 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin