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.13MB] [CPU: ▼4.32ms] Passed 4 tests
A check of server-side resources used by itsukaita
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.17 ▼0.06 |
Dashboard /wp-admin | 3.44 ▲0.13 | 49.29 ▼0.13 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.93 ▼4.18 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.59 ▼12.89 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.31 ▲3.35 |
itsukaita /wp-admin/options-general.php?page=itsukaita/itsukaita.php | 3.30 | 29.28 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for itsukaita
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲119 | 14.74 ▲0.44 | 1.89 ▲0.05 | 44.40 ▲0.55 |
Dashboard /wp-admin | 2,207 ▲19 | 4.87 ▼0.98 | 112.73 ▲2.95 | 44.79 ▼2.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.06 | 33.24 ▼5.01 | 35.15 ▲3.76 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.82 ▼5.34 | 668.19 ▼21.88 | 59.27 ▼9.38 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.03 | 93.60 ▼12.54 | 41.20 ▼3.82 |
itsukaita /wp-admin/options-general.php?page=itsukaita/itsukaita.php | 901 | 2.33 | 33.49 | 43.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=itsukaita/itsukaita.php
- > Notice in wp-content/plugins/itsukaita/itsukaita.php+111
Undefined index: shorishubetsu
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=itsukaita/itsukaita.php
- > Notice in wp-content/plugins/itsukaita/itsukaita.php+128
Undefined index: lang
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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/itsukaita/itsukaita.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=itsukaita/itsukaita.php
- > Network (severe)
https://api.twitter.com/1/users/profile_image?screen_name=kazunii_ac&size=mini - Failed to load resource: the server responded with a status of 410 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: The plugin tags were not defined
- Donate link: Please fix this invalid URI: ""
itsukaita/itsukaita.php Passed 13 tests
"itsukaita" version 0.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
121 characters long description:
記事をいつ書いたかを分析するプラグインです。This is plug-in which analyzes when posts were written.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected937 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 61 | 40 | 829 |
JavaScript | 2 | 3 | 10 | 72 |
CSS | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 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
1 PNG file occupies 0.22MB with 0.15MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 221.94KB | 63.37KB | ▼ 71.45% |