Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼290.03ms] Passed 4 tests
Analyzing server-side resources used by Add Pingbacks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 55.44 ▲4.95 |
Dashboard /wp-admin | 3.44 ▲0.03 | 32.34 ▼1.30 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 37.33 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.07 | 95.10 ▼1,159.30 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 27.00 ▲2.14 |
Add Pingbacks /wp-admin/edit-comments.php?page=addPingbacks | 3.32 | 23.10 |
All Comments /wp-admin/edit-comments.php | 3.39 | 27.06 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Add Pingbacks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲51 | 16.19 ▲0.45 | 5.57 ▼0.88 | 2.07 ▼0.79 |
Dashboard /wp-admin | 2,914 ▲56 | 6.14 ▲0.00 | 116.92 ▼19.66 | 155.34 ▼8.22 |
Posts /wp-admin/edit.php | 2,713 ▲19 | 3.24 ▲0.01 | 63.70 ▲0.71 | 143.07 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,676 ▲10 | 16.38 ▼4.51 | 404.09 ▼33.26 | 150.22 ▼10.83 |
Media Library /wp-admin/upload.php | 1,717 ▲19 | 5.49 ▲0.03 | 136.51 ▼6.88 | 189.11 ▼1.54 |
Add Pingbacks /wp-admin/edit-comments.php?page=addPingbacks | 1,140 | 2.40 | 54.57 | 138.06 |
All Comments /wp-admin/edit-comments.php | 2,393 | 3.41 | 62.36 | 133.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/edit-comments.php?page=addPingbacks
- > Notice in wp-content/plugins/add-pingbacks/add-pingbacks.php+88
Undefined index: action
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/add-pingbacks/add-pingbacks.php:152
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== add-pingbacks ===
)
add-pingbacks/add-pingbacks.php Passed 13 tests
This is the main PHP file of "Add Pingbacks" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Manually add Pingbacks to a Post or a Page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin117 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 10 | 117 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 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
PNG images were not found in this plugin