Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.47ms] Passed 4 tests
An overview of server-side resources used by Add Pingbacks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.02 | 38.56 ▼0.75 |
Dashboard /wp-admin | 3.36 ▼0.02 | 45.37 ▼19.99 |
Posts /wp-admin/edit.php | 3.41 ▲0.02 | 46.53 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.02 | 81.39 ▼29.51 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 38.24 ▲3.95 |
Add Pingbacks /wp-admin/edit-comments.php?page=addPingbacks | 3.28 | 30.76 |
All Comments /wp-admin/edit-comments.php | 3.35 | 37.91 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Add Pingbacks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲46 | 13.17 ▼1.18 | 1.76 ▼0.22 | 38.96 ▼1.74 |
Dashboard /wp-admin | 2,223 ▲35 | 4.85 ▼0.96 | 106.62 ▲1.74 | 38.80 ▼3.18 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.00 ▲0.03 | 35.94 ▼1.35 | 33.36 ▲2.72 |
Add New Post /wp-admin/post-new.php | 1,548 ▲25 | 23.42 ▲0.49 | 683.05 ▲32.78 | 55.42 ▲6.96 |
Media Library /wp-admin/upload.php | 1,408 ▲29 | 4.24 ▼0.04 | 96.16 ▲0.15 | 43.42 ▲2.16 |
Add Pingbacks /wp-admin/edit-comments.php?page=addPingbacks | 924 | 2.06 | 23.10 | 29.28 |
All Comments /wp-admin/edit-comments.php | 1,806 | 2.27 | 33.60 | 35.28 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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
These server-side errors were triggered
- > 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 | 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > 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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== add-pingbacks ===
)
add-pingbacks/add-pingbacks.php Passed 13 tests
The entry point to "Add Pingbacks" version 1.1 is a PHP file that has certain tags in its header comment area
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 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous 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
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin