Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.78ms] Passed 4 tests
This is a short check of server-side resources used by Show Thumbnail Image In Admin Post / Page List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.96 ▲1.50 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.61 ▼6.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.03 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.68 ▼15.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.92 ▲3.60 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Show Thumbnail Image In Admin Post / Page List
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 14.74 ▲0.45 | 1.71 ▼0.21 | 44.13 ▼5.64 |
Dashboard /wp-admin | 2,208 ▲20 | 4.85 ▼1.00 | 110.77 ▼5.49 | 41.76 ▼3.93 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.00 ▼0.01 | 34.98 ▼2.97 | 36.01 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,516 ▼31 | 17.45 ▼0.94 | 675.11 ▲23.19 | 53.69 ▼7.83 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.16 ▼0.05 | 93.49 ▼1.21 | 45.29 ▲1.32 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/show-thumbnail-image-in-admin-post-page-list-stiap/stiap-plugin.php:29
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
show-thumbnail-image-in-admin-post-page-list-stiap/stiap-plugin.php 85% from 13 tests
The main PHP file in "Show Thumbnail Image In Admin Post / Page List" ver. 1.0 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: The principal plugin file should be the same as the plugin slug ("show-thumbnail-image-in-admin-post-page-list-stiap.php" instead of "stiap-plugin.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected5,450 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 435 | 3 | 5,326 |
PO File | 2 | 12 | 12 | 74 |
PHP | 2 | 29 | 40 | 50 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 PNG files occupy 0.36MB with 0.23MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banner-1544x500.png | 243.97KB | 74.69KB | ▼ 69.39% |
assets/images/icon-128x128.png | 15.25KB | 6.47KB | ▼ 57.56% |
assets/images/banner-772x250.png | 81.80KB | 23.08KB | ▼ 71.79% |
assets/images/icon-256x256.png | 32.32KB | 14.50KB | ▼ 55.13% |