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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.53ms] Passed 4 tests
Analyzing server-side resources used by Featured Image Thumbnail Grid
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.96 ▼4.19 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.04 ▼15.63 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.15 ▼3.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.27 ▼14.51 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.67 ▲1.63 |
Thumbnail Grid Settings /wp-admin/options-general.php?page=sfly_tgrid_settings | 3.25 | 34.81 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Featured Image Thumbnail Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 13.61 ▼0.98 | 1.89 ▲0.21 | 48.28 ▲3.64 |
Dashboard /wp-admin | 2,193 ▲19 | 5.56 ▼0.08 | 81.65 ▼16.05 | 40.94 ▼5.55 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 37.79 ▲1.63 | 35.39 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,551 ▲20 | 23.23 ▲0.15 | 693.05 ▲36.37 | 68.03 ▲7.36 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.29 ▼0.01 | 105.22 ▼14.66 | 49.72 ▼0.50 |
Thumbnail Grid Settings /wp-admin/options-general.php?page=sfly_tgrid_settings | 1,340 | 2.03 | 29.97 | 55.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/thumbnail-grid/thumbnailgrid.php
- > /wp-content/plugins/thumbnail-grid/thumbnailgrid-admin.php
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/options-general.php?page=sfly_tgrid_settings
- > Network (severe)
https://www.shooflysolutions.com/2013/11/settings.gif - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== thumbnail-grid ===
)
thumbnail-grid/thumbnailgrid.php 92% from 13 tests
"Featured Image Thumbnail Grid" version 6.6.1'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: The principal plugin file should be the same as the plugin slug ("thumbnail-grid.php" instead of "thumbnailgrid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin782 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 116 | 169 | 547 |
HTML | 1 | 33 | 3 | 167 |
CSS | 2 | 6 | 2 | 45 |
JavaScript | 1 | 5 | 1 | 23 |
PHP code Passed 2 tests
Analyzing 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.34 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin