Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼9.11ms] Passed 4 tests
Server-side resources used by Category Featured Images Extended
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.45 ▼12.75 |
Dashboard /wp-admin | 3.43 ▲0.09 | 55.52 ▼12.39 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 55.23 ▲1.15 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 93.60 ▼9.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.30 ▼1.29 |
Category Featured Images Extended /wp-admin/options-general.php?page=cks_cfix | 3.49 | 38.62 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
cks_cfix_use_yoast_primary |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
cks_cfix_version |
cks_cfix_featured_images |
widget_recent-comments |
cks_cfix_exclude_category |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Category Featured Images Extended
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲222 | 14.88 ▲0.65 | 1.86 ▲0.02 | 43.25 ▲0.72 |
Dashboard /wp-admin | 2,352 ▲161 | 6.39 ▲0.49 | 123.81 ▲16.30 | 41.96 ▼2.39 |
Posts /wp-admin/edit.php | 2,258 ▲169 | 3.32 ▲1.28 | 48.94 ▲10.92 | 30.09 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.47 ▲0.07 | 648.04 ▼46.10 | 36.03 ▼20.00 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.23 ▲0.03 | 86.30 ▼28.05 | 45.58 ▼5.73 |
Category Featured Images Extended /wp-admin/options-general.php?page=cks_cfix | 1,342 | 2.92 | 43.78 | 113.92 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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
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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/category-featured-images-extended/settings.php
- > /wp-content/plugins/category-featured-images-extended/category-featured-images-extended.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=cks_cfix
- > Javascript (severe) in unknown
/wp-content/plugins/category-featured-images-extended/js/cfix-select-cat-image.js?ver=1.52 11:32 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: ck macleod, category featured image, thumbnail, categories, featured image
category-featured-images-extended/category-featured-images-extended.php 92% from 13 tests
Analyzing the main PHP file in "Category Featured Images Extended" version 1.52
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,465 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 545 | 154 | 1,082 |
CSS | 1 | 11 | 15 | 330 |
JavaScript | 2 | 23 | 21 | 53 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 103.00 |
▷ Minimum class complexity | 103.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 6.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 5 | 27.78% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin