Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.06ms] Passed 4 tests
Server-side resources used by Taxonomy Thumbnail
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.65 ▼5.02 |
Dashboard /wp-admin | 3.39 ▲0.04 | 50.78 ▼13.17 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.44 ▼0.36 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.00 ▼21.68 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.86 ▲5.72 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
sftth_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Taxonomy Thumbnail
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.10 | 1.91 ▼0.16 | 45.05 ▲2.17 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▲0.98 | 110.87 ▼7.17 | 42.97 ▼2.59 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.13 ▲0.11 | 35.26 ▼0.43 | 33.88 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.25 ▲5.57 | 685.01 ▲9.09 | 60.44 ▼5.73 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.02 | 93.53 ▼6.44 | 40.45 ▼2.72 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/compat/filters.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/sf-taxonomy-thumbnail.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/filters.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/utilities.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/template-tags.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/compat/template-tags.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/compat/option.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/admin-and-ajax.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/admin.php
- > /wp-content/plugins/sf-taxonomy-thumbnail/inc/migrate.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: taxonomy, thumbnail, category, image, dev
sf-taxonomy-thumbnail/sf-taxonomy-thumbnail.php Passed 13 tests
The main file in "Taxonomy Thumbnail" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
39 characters long description:
Add a thumbnail to your taxonomy terms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected970 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 271 | 651 | 716 |
JavaScript | 2 | 34 | 22 | 139 |
CSS | 2 | 1 | 0 | 75 |
PO File | 1 | 12 | 4 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
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 | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 are no PNG files in this plugin