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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.87ms] Passed 4 tests
Analyzing server-side resources used by in6ool
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.51 ▼2.69 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.03 ▼6.43 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.10 ▼1.89 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 94.12 ▼8.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.11 ▲2.14 |
in6ool /wp-admin/options-general.php?page=in6ool | 3.28 | 32.89 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for in6ool
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.40 ▲0.03 | 1.81 ▲0.20 | 41.61 ▲3.40 |
Dashboard /wp-admin | 2,207 ▲16 | 5.84 ▼0.09 | 97.19 ▼7.49 | 40.08 ▼3.19 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.04 | 42.21 ▲5.65 | 37.41 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.06 ▲4.71 | 617.84 ▼4.93 | 52.05 ▼4.07 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.28 ▲0.12 | 96.77 ▼4.75 | 41.39 ▼2.97 |
in6ool /wp-admin/options-general.php?page=in6ool | 1,126 | 2.08 | 23.28 | 53.70 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 get_option() in wp-content/plugins/in6ool/in6ool.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: The plugin tags were not defined
- Screenshots: Screenshot #1 (設定画面) image required
in6ool/in6ool.php Passed 13 tests
"in6ool" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
ページやパーツの表示を管理します。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected332 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 18 | 332 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.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
1 PNG file occupies 0.18MB with 0.13MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 183.08KB | 49.39KB | ▼ 73.02% |