89% nippombashi-2016

Code Review | Nippombashi 2016 ~ TwentySixteen Japanese Fonts ~

WordPress plugin Nippombashi 2016 ~ TwentySixteen Japanese Fonts ~ scored89%from 54 tests.

About plugin

  • Plugin page: nippombashi-2016
  • Plugin version: 0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.6
  • WordPress version: 6.3.1
  • First release: Nov 3, 2015
  • Latest release: Aug 16, 2016
  • Number of updates: 17
  • Update frequency: every 16.9 days
  • Top authors: hnle (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,226 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.72ms] Passed 4 tests

Server-side resources used by Nippombashi 2016 ~ TwentySixteen Japanese Fonts ~
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.0144.55 ▲0.12
Dashboard /wp-admin3.57 ▲0.0147.43 ▼9.67
Posts /wp-admin/edit.php3.69 ▲0.0150.02 ▼4.81
Add New Post /wp-admin/post-new.php6.15 ▲0.0190.73 ▼9.67
Media Library /wp-admin/upload.php3.49 ▲0.0137.87 ▼2.71

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Nippombashi 2016 ~ TwentySixteen Japanese Fonts ~: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.29 ▼0.351.90 ▲0.2443.96 ▼0.84
Dashboard /wp-admin2,198 ▲185.65 ▼0.0388.47 ▼10.9336.51 ▼8.92
Posts /wp-admin/edit.php2,100 ▼01.99 ▲0.0040.01 ▲0.9336.68 ▼0.19
Add New Post /wp-admin/post-new.php1,554 ▲1923.13 ▼0.14615.86 ▼49.7752.61 ▼0.71
Media Library /wp-admin/upload.php1,400 ▼04.28 ▲0.11104.69 ▲0.0944.56 ▼2.48

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: twenty sixteen, font

nippombashi-2016/ts-fonts.php 85% from 13 tests

The principal PHP file in "Nippombashi 2016 ~ TwentySixteen Japanese Fonts ~" v. 0.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nippombashi-2016.php" instead of "ts-fonts.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.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
Success! There were no dangerous files found in this plugin216 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
Sass418989
CSS39281
PHP28925
PO File14621

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.73
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin