Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼13.57ms] Passed 4 tests
This is a short check of server-side resources used by imagy WP(イメージー)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.85 ▼3.69 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.13 ▼17.78 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.62 ▼3.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.05 ▼29.35 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.74 ▲3.34 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
imagy WP(イメージー): an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.20 ▼1.35 | 4.68 ▲2.85 | 42.23 ▼2.75 |
Dashboard /wp-admin | 2,209 ▲30 | 5.90 ▲0.01 | 104.45 ▼0.94 | 45.87 ▲2.22 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 1.99 ▲0.00 | 37.06 ▼0.32 | 39.54 ▲4.57 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.17 ▲4.89 | 666.50 ▲16.36 | 48.39 ▼13.95 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.20 ▼0.02 | 97.29 ▼8.08 | 43.48 ▼1.26 |
imagy高速化設定 /wp-admin/imagy.php | 26 | 0.44 | 0.07 | 12.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- could_front_url
- imagy_is_working
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 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 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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function imagy\\add_action() in wp-content/plugins/imagy-wp/add_menu.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/imagy.php
- > Network (severe)
wp-admin/imagy.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
imagy-wp/imagy.php 85% from 13 tests
"imagy WP(イメージー)" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("imagy-wp.php" instead of "imagy.php")
- Description: The description should be shorter than 140 characters (currently 233 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected283 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 25 | 186 |
CSS | 1 | 0 | 0 | 50 |
Sass | 1 | 1 | 0 | 47 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 30.77% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected