Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.59ms] Passed 4 tests
An overview of server-side resources used by Plugin Name: Simplify Post Taxonomy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.57 ▼0.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.37 ▼0.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 53.64 ▲5.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.68 ▼7.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.53 ▲1.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_custom_post_types |
wp_custom_taxonomy_types |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Name: Simplify Post Taxonomy
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.64 ▲0.42 | 1.71 ▼0.20 | 48.00 ▲5.37 |
Dashboard /wp-admin | 2,198 ▲21 | 5.68 ▲0.01 | 81.36 ▼6.90 | 72.29 ▲26.04 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▼0.01 | 37.88 ▲1.15 | 40.94 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,693 ▲150 | 22.42 ▼0.85 | 695.28 ▲8.06 | 41.62 ▼9.38 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.25 ▲0.14 | 103.79 ▼0.98 | 68.46 ▲17.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_custom_post_types
- wp_custom_taxonomy_types
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/simplify-post-taxonomy/admin-interface-custompost.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplify-post-taxonomy/executes-posts-taxonomy.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simplify-post-taxonomy/index.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: Simplify Post Taxonomy ===
)
simplify-post-taxonomy/index.php 92% from 13 tests
The primary PHP file in "Plugin Name: Simplify Post Taxonomy" version 2.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("simplify-post-taxonomy.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin367 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 33 | 298 |
CSS | 1 | 2 | 7 | 41 |
JavaScript | 1 | 3 | 7 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.88KB | 0.81KB | ▼ 7.44% |