Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.60MB] [CPU: ▼14.44ms] Passed 4 tests
This is a short check of server-side resources used by YarakuZen
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.65 ▼2.47 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.25 ▼4.32 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.71 ▲5.21 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 38.00 ▼56.17 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 40.52 ▲7.81 |
YarakuZen /wp-admin/options-general.php?page=yarakuzen | 3.28 | 31.65 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for YarakuZen
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 14.85 ▲0.24 | 1.73 ▼0.02 | 39.26 ▼2.66 |
Dashboard /wp-admin | 2,214 ▲23 | 5.84 ▲0.94 | 109.13 ▲1.91 | 36.86 ▼1.40 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▼0.00 | 36.26 ▼0.87 | 32.19 ▼0.72 |
Add New Post /wp-admin/post-new.php | 6,550 ▲5,024 | 20.46 ▼2.76 | 988.58 ▲236.82 | 63.65 ▲3.11 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.28 ▲0.12 | 98.46 ▼2.53 | 43.10 ▼3.54 |
YarakuZen /wp-admin/options-general.php?page=yarakuzen | 831 | 2.07 | 24.74 | 28.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/yarakuzen/yarakuzen.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yarakuzen/admin/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yarakuzen/includes/rest-api.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: multilingual, localization, language, translation
yarakuzen/yarakuzen.php Passed 13 tests
The primary PHP file in "YarakuZen" version 1.2 is used by WordPress to initiate all plugin functionality
118 characters long description:
The YarakuZen plugin helps you to translate your site using both machine translation and translation by professionals.
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 plugin655 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 180 | 167 | 622 |
JavaScript | 1 | 8 | 0 | 23 |
CSS | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 2.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 27 | 87.10% |
▷ Protected methods | 3 | 9.68% |
▷ Private methods | 1 | 3.23% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 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 files were detected