Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/attachment-taxonomy-support/attachment-taxonomy-support.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; AttachmentTaxSupp has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼50.68ms] Passed 4 tests
A check of server-side resources used by Attachment Taxonomy Support
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.67 ▼35.79 |
Dashboard /wp-admin | 2.09 ▼1.21 | 7.10 ▼39.25 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.00 ▼38.32 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 6.14 ▼89.35 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.17 ▼25.80 |
Attachment Category /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment | 2.10 | 6.56 |
Attachment Tags /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment | 2.10 | 5.25 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Attachment Taxonomy Support: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 14.38 ▲0.12 | 1.98 ▲0.25 | 43.45 ▼3.35 |
Dashboard /wp-admin | 2,214 ▲26 | 4.89 ▼0.12 | 106.11 ▼7.45 | 41.83 ▼1.89 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▲0.00 | 38.88 ▼1.19 | 34.69 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.27 ▼0.06 | 664.70 ▼11.81 | 54.00 ▼1.09 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.17 ▼0.09 | 94.58 ▼17.57 | 41.89 ▼5.97 |
Attachment Category /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment | 1,267 | 2.14 | 26.23 | 29.04 |
Attachment Tags /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment | 1,239 | 2.13 | 28.65 | 27.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/attachment-taxonomy-support/attachment-taxonomy-support.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; AttachmentTaxSupp has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment
- > Deprecated in wp-content/plugins/attachment-taxonomy-support/attachment-taxonomy-support.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; AttachmentTaxSupp has a deprecated constructor
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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/attachment-taxonomy-support/attachment-taxonomy-support.php:24
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/attachment-taxonomy-support/admin/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
attachment-taxonomy-support/attachment-taxonomy-support.php Passed 13 tests
This is the main PHP file of "Attachment Taxonomy Support" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
86 characters long description:
Improved support for media and attachments in WordPress versions before WordPress 3.5+
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin280 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 110 | 264 |
JavaScript | 1 | 4 | 5 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected