Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.08ms] Passed 4 tests
Server-side resources used by ReviewForUmaMi
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 41.14 ▼1.16 |
Dashboard /wp-admin | 3.37 ▲0.07 | 56.05 ▼0.13 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 52.83 ▲2.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.66 ▼16.28 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.88 ▲1.26 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 4 files (0.00KB) outside of "wp-content/plugins/reviewforumami/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/reviewforumami/img/\343\203\220\343\203\203\343\202\257\343\202\271\343\202\277\343\203\274A.png"
- (new file) "wp-content/plugins/reviewforumami/img/\343\203\220\343\203\203\343\202\257\343\202\271\343\202\277\343\203\274.png"
- (new file) "wp-content/plugins/reviewforumami/img/\343\202\271\343\202\277\343\203\274.png"
- (new file) "wp-content/plugins/reviewforumami/img/\343\202\271\343\202\277\343\203\274A.png"
Filesystem: 3 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_reviewtableforUmaMi |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
cmt_meta_version |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for ReviewForUmaMi
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.26 ▼1.15 | 1.77 ▼0.28 | 44.89 ▲2.51 |
Dashboard /wp-admin | 2,218 ▲33 | 5.88 ▼0.18 | 110.26 ▲6.86 | 43.71 ▲0.36 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.03 ▲0.02 | 37.78 ▼2.96 | 38.86 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.19 ▼0.15 | 692.13 ▼18.56 | 61.46 ▼5.78 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.23 ▲0.01 | 95.35 ▼11.28 | 45.26 ▲4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_reviewtableforUmaMi
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- cmt_meta_version
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/reviewforumami/reviewforUmaMi.php:459
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/reviewforumami/reviewforUmaMi.php on line 458
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
reviewforumami/reviewforUmaMi.php 92% from 13 tests
The main PHP file in "ReviewForUmaMi" ver. 0.2.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("reviewforumami.php" instead of "reviewforUmaMi.php")
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
Success! There were no dangerous files found in this plugin532 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 29 | 441 |
CSS | 1 | 6 | 0 | 91 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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
4 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/スターA.png | 5.22KB | 2.90KB | ▼ 44.33% |
img/バックスターA.png | 4.02KB | 1.82KB | ▼ 54.73% |
img/スター.png | 1.63KB | 0.93KB | ▼ 43.12% |
img/バックスター.png | 1.63KB | 0.93KB | ▼ 42.95% |