Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.06ms] Passed 4 tests
A check of server-side resources used by Featured Image Admin Thumb
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 40.45 ▼1.80 |
Dashboard /wp-admin | 3.47 ▲0.12 | 56.29 ▲6.14 |
Posts /wp-admin/edit.php | 3.61 ▲0.21 | 56.10 ▲2.00 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 88.93 ▼14.00 |
Media Library /wp-admin/upload.php | 3.39 ▲0.12 | 37.90 ▲1.56 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Featured Image Admin Thumb
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.01 | 1.98 ▲0.29 | 43.98 ▲0.33 |
Dashboard /wp-admin | 2,198 ▲18 | 5.48 ▼0.19 | 94.34 ▲4.53 | 47.30 ▲1.95 |
Posts /wp-admin/edit.php | 2,326 ▲226 | 3.37 ▲1.43 | 74.68 ▲30.04 | 32.73 ▼5.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.08 ▼0.10 | 684.71 ▼71.15 | 58.54 ▲3.76 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.09 ▼0.03 | 80.97 ▼29.03 | 42.79 ▼1.34 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/featured-image-admin-thumb-fiat/public/views/public.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/featured-image-admin-thumb-fiat/admin/views/admin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: thumbnail, post-thumbnail, featured, featured admin thumbnail, image...
featured-image-admin-thumb-fiat/featured-image-admin-thumb.php 85% from 13 tests
Analyzing the main PHP file in "Featured Image Admin Thumb" version 1.6
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-image-admin-thumb-fiat.php" instead of "featured-image-admin-thumb.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,198 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 3 | 487 |
PHP | 7 | 107 | 390 | 338 |
CSS | 3 | 16 | 15 | 170 |
Markdown | 1 | 41 | 0 | 88 |
JavaScript | 3 | 17 | 35 | 86 |
PO File | 1 | 5 | 7 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 7 | 25.93% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin