Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.92ms] Passed 4 tests
Analyzing server-side resources used by Himegoto
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.38 ▲2.18 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.52 ▼3.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.47 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.97 ▼13.87 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.97 ▲0.76 |
Himegoto /wp-admin/edit.php?post_type=himegoto | 3.31 | 36.09 |
Add New /wp-admin/post-new.php?post_type=himegoto | 3.36 | 40.01 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Himegoto
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.36 ▼0.06 | 1.76 ▲0.04 | 44.66 ▲4.98 |
Dashboard /wp-admin | 2,222 ▲41 | 5.63 ▼0.09 | 84.98 ▼13.57 | 40.75 ▼3.30 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.01 ▲0.02 | 36.46 ▲2.20 | 37.22 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.64 ▲0.41 | 689.29 ▲17.09 | 58.25 ▲1.33 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.18 ▲0.01 | 100.22 ▼0.93 | 42.02 ▼4.19 |
Himegoto /wp-admin/edit.php?post_type=himegoto | 1,091 | 1.97 | 30.55 | 27.80 |
Add New /wp-admin/post-new.php?post_type=himegoto | 2,162 | 7.51 | 186.49 | 68.00 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/himegoto/himegoto.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== himegoto ===
) - Donate link: Invalid URI ("")
himegoto/himegoto.php Passed 13 tests
"Himegoto" version 0.7.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
48 characters long description:
Using the search form, displays the secret post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin144 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 9 | 81 |
PO File | 1 | 8 | 8 | 31 |
CSS | 1 | 1 | 0 | 25 |
JavaScript | 4 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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