Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.69ms] Passed 4 tests
Server-side resources used by Taxman
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.63 ▼8.19 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.07 ▲4.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.69 ▼1.74 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.39 ▼11.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.69 ▲2.87 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 3.23 | 36.68 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment | 3.25 | 34.64 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 3.24 | 31.20 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment | 3.24 | 32.32 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
category_children |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Taxman
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.59 ▼0.99 | 1.82 ▲0.10 | 41.23 ▼3.96 |
Dashboard /wp-admin | 2,222 ▲34 | 4.82 ▼0.06 | 101.98 ▼1.20 | 38.73 ▼3.74 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.03 ▼0.02 | 36.46 ▼3.53 | 31.49 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 23.17 ▲0.07 | 627.48 ▲20.76 | 56.32 ▲1.08 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.23 ▲0.02 | 103.53 ▲6.24 | 44.91 ▲2.85 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=page | 1,462 | 2.14 | 25.55 | 33.58 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment | 1,459 | 2.14 | 35.22 | 34.97 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=page | 1,323 | 2.25 | 26.95 | 33.41 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment | 1,323 | 2.14 | 25.42 | 29.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- category_children
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 everything seems fine, this is not an exhaustive test
SRP 50% 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taxman/taxman.php:12
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== taxman ===
)
taxman/taxman.php Passed 13 tests
"Taxman" version 0.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
Add existing taxonomies all post types.
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
There were no executable files found in this plugin20 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 12 | 11 |
Markdown | 1 | 5 | 0 | 9 |
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.57 |
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 | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin