Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼169.82ms] Passed 4 tests
This is a short check of server-side resources used by Remove Pingback-Trackback Comments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.34 ▲10.48 |
Dashboard /wp-admin | 3.10 ▲0.04 | 42.59 ▲0.10 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 44.84 ▼1.06 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 82.08 ▼674.03 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 30.72 ▼4.28 |
Remove Pingback-Trackback Comments /wp-admin/tools.php?page=remove-pingback-trackback-comments | 2.99 | 29.12 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Remove Pingback-Trackback Comments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.29 ▲0.66 | 7.83 ▼3.36 | 47.00 ▼0.96 |
Dashboard /wp-admin | 2,975 ▲44 | 5.90 ▼0.13 | 136.09 ▼8.40 | 109.73 ▼7.73 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.84 ▲0.00 | 64.56 ▼1.95 | 95.79 ▲5.17 |
Add New Post /wp-admin/post-new.php | 1,879 ▲203 | 19.21 ▲0.34 | 364.59 ▼17.19 | 111.28 ▼6.32 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.00 | 144.87 ▼8.34 | 118.97 ▲1.58 |
Remove Pingback-Trackback Comments /wp-admin/tools.php?page=remove-pingback-trackback-comments | 1,236 | 2.10 | 58.84 | 80.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/tools.php?page=remove-pingback-trackback-comments
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=remove-pingback-trackback-comments
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: A description for screenshot #2 is missing in remove-pingback-trackback-comments/assets to your readme.txt
remove-pingback-trackback-comments/remove-pingback-trackback-comments.php Passed 13 tests
The main PHP script in "Remove Pingback-Trackback Comments" version 1.0 is automatically included on every request by WordPress
116 characters long description:
A tool to remove pingbacks and trackbacks comments from database and force posts default pingback status to "close".
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin241 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 110 | 76 | 125 |
PO File | 1 | 20 | 20 | 116 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 3 | 50.00% |
▷ Public methods | 3 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin