99% zundokokiyoshi

Code Review | ZundokoKiyoshi

WordPress plugin ZundokoKiyoshi scored 99% from 54 tests.

About plugin

  • Plugin page: zundokokiyoshi
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.2-4.4.2
  • WordPress version: 5.8.1
  • First release: Mar 25, 2016
  • Latest release: Mar 25, 2016
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: ki6ool (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 337 total downloads

Benchmarks

Plugin footprint Passed 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 gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼144.09ms] Passed 4 tests

An overview of server-side resources used by ZundokoKiyoshi
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.86 ▲12.09
Dashboard /wp-admin3.06 ▲0.0152.32 ▲4.83
Posts /wp-admin/edit.php3.12 ▲0.0142.95 ▼0.44
Add New Post /wp-admin/post-new.php5.42 ▼0.0188.94 ▼583.58
Media Library /wp-admin/upload.php3.01 ▲0.0134.54 ▲2.82

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

ZundokoKiyoshi: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.86 ▲0.2810.07 ▼0.5145.04 ▲1.02
Dashboard /wp-admin2,967 ▲365.91 ▼0.00138.79 ▼8.99112.36 ▲11.58
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0166.07 ▼1.6988.92 ▲1.65
Add New Post /wp-admin/post-new.php1,672 ▼1,96418.91 ▲4.00476.85 ▼15.04104.44 ▼11.06
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.00159.80 ▼3.63112.21 ▼1.62

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

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 93% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: No valid plugin tags found
  • Screenshots: Please add an image for screenshot #1 (イメージ)
The official readme.txt might help

zundokokiyoshi/zundokokiyoshi.php Passed 13 tests

"ZundokoKiyoshi" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
48 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
Everything looks great! No dangerous files found in this plugin16 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141116

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods150.00%
▷ Protected methods00.00%
▷ Private methods150.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png49.99KB13.48KB▼ 73.03%