Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.48ms] Passed 4 tests
A check of server-side resources used by Image Wall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.90 ▲1.58 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.97 ▼5.16 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.35 ▼3.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.03 ▼21.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.86 ▼3.79 |
Image Wall /wp-admin/options-general.php?page=image-wall-settings | 3.21 | 30.59 |
Server storage [IO: ▲0.59MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
image_wall_regen_salt |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
image_wall_regen_method |
can_compress_scripts |
image_wall_regen |
Browser metrics Passed 4 tests
Image Wall: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▲0.08 | 1.76 ▼0.13 | 45.04 ▲0.89 |
Dashboard /wp-admin | 2,196 ▲19 | 5.48 ▼0.17 | 84.20 ▼12.90 | 39.69 ▼6.18 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 1.98 ▲0.03 | 35.43 ▼0.70 | 31.43 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.25 ▼0.06 | 685.46 ▼4.48 | 53.48 ▼7.97 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.04 | 98.13 ▼13.00 | 45.57 ▼5.96 |
Image Wall /wp-admin/options-general.php?page=image-wall-settings | 980 | 2.00 | 26.00 | 39.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
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
Good news, no errors were detected
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/image-wall/image-wall.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (An example image wall.), #2 (The admin screen.)
image-wall/image-wall.php 92% from 13 tests
"Image Wall" version 3.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:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected740 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 142 | 105 | 550 |
CSS | 1 | 16 | 2 | 113 |
JavaScript | 3 | 21 | 19 | 77 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
TMNlogo.png | 40.68KB | 15.52KB | ▼ 61.86% |