Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.10ms] Passed 4 tests
Analyzing server-side resources used by Simple Trackback Disabler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.08 ▼3.66 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.78 ▼6.10 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.32 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.95 ▼9.59 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.86 ▼5.03 |
Trackback Disabler /wp-admin/tools.php?page=tb_disabler | 3.21 | 28.32 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Trackback Disabler
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.79 ▲0.42 | 1.89 ▼0.07 | 44.46 ▼4.56 |
Dashboard /wp-admin | 2,207 ▲16 | 5.95 ▲1.03 | 93.93 ▼18.12 | 39.27 ▼10.84 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.02 | 36.38 ▲2.21 | 34.27 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.30 ▲5.70 | 661.02 ▼36.95 | 68.71 ▲15.66 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.19 ▼0.03 | 95.54 ▼2.24 | 39.73 ▼3.06 |
Trackback Disabler /wp-admin/tools.php?page=tb_disabler | 1,239 | 3.37 | 70.23 | 46.07 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- 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 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=tb_disabler
- > Notice in wp-content/plugins/simple-trackback-disabler/trackback-disabler.php+51
Undefined index: tbd_action_type
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-trackback-disabler/trackback-disabler.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== simple-trackback-disabler ===
) - Screenshots: Screenshot #1 (Simple, Straightforward interface to change settings and clean up unwanted comments, trackbacks, and pingbacks.) image missing
simple-trackback-disabler/trackback-disabler.php 85% from 13 tests
"Simple Trackback Disabler" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 420 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-trackback-disabler.php" instead of "trackback-disabler.php")
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
There were no executable files found in this plugin267 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 58 | 28 | 267 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 2 | |
▷ Named functions | 2 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 84.41KB | 33.55KB | ▼ 60.25% |