Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼140.84ms] Passed 4 tests
An overview of server-side resources used by Simple Trackback Validation with Topsy Blocker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.18 | 36.97 ▲9.89 |
Dashboard /wp-admin | 3.13 ▲0.07 | 45.95 ▼3.01 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 42.65 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 94.96 ▼550.36 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 32.45 ▼9.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Simple Trackback Validation with Topsy Blocker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.84 ▲0.14 | 10.28 ▼0.65 | 48.29 ▼1.25 |
Dashboard /wp-admin | 2,978 ▲41 | 5.92 ▼0.06 | 141.70 ▼7.65 | 113.13 ▼11.98 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.84 ▲0.13 | 67.57 ▲2.11 | 93.00 ▲3.39 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.77 ▲0.01 | 375.18 ▼16.86 | 112.73 ▼3.29 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.03 | 147.67 ▼15.95 | 125.94 ▼42.71 |
Simple TB Validation /wp-admin/simple-trackback-validation-with-topsy-blocker.php | 26 | 0.90 | 0.09 | 12.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-trackback-validation-with-topsy-blocker/simple-trackback-validation-with-topsy-blocker.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/simple-trackback-validation-with-topsy-blocker.php
- > Network (severe)
wp-admin/simple-trackback-validation-with-topsy-blocker.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: anti-spam, protection, trackback, blocker, block...
simple-trackback-validation-with-topsy-blocker/simple-trackback-validation-with-topsy-blocker.php Passed 13 tests
The main file in "Simple Trackback Validation with Topsy Blocker" v. 1.2.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
126 characters long description:
Enhancement and REPLACEMENT of the original STV plugin from Michael Woehrer. Added automated blocking of topsy.com Trackbacks.
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
No dangerous file extensions were detected475 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 157 | 150 | 475 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin