Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Compile error in wp-content/plugins/jam-taxonomy-image/lib/taxonomy-metadata.php+69
Cannot redeclare add_term_meta() (previously declared in wp-includes/taxonomy.php:1346)
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.51ms] Passed 4 tests
This is a short check of server-side resources used by Jam Taxonomy Image
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.58 ▼1.05 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.37 ▼15.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.70 ▲2.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.00 ▼19.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.08 ▲3.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Jam Taxonomy Image
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.24 ▼0.98 | 1.83 ▲0.14 | 39.32 ▼1.67 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.08 | 94.37 ▼5.15 | 39.13 ▼4.38 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▲0.04 | 39.60 ▲3.83 | 34.09 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.15 ▲4.91 | 661.71 ▲62.23 | 68.90 ▲19.76 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▼0.01 | 94.35 ▼1.21 | 43.15 ▲1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/jam-taxonomy-image/jam-taxonomy-image.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/jam-taxonomy-image/lib/widget.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
jam-taxonomy-image/jam-taxonomy-image.php 92% from 13 tests
The principal PHP file in "Jam Taxonomy Image" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected303 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 65 | 132 | 303 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected