Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/trackback-and-pingback-widget/front-end/class/TrackbackAndPingbackWidget.php+385
Declaration of Walker_TrackandPingbacks::paged_walk($elements, $max_depth, $page_num, $per_page) should be compatible with Walker::paged_walk($elements, $max_depth, $page_num, $per_page, ...$args)
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.03ms] Passed 4 tests
Analyzing server-side resources used by Trackback and Pingback Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.06 ▼36.66 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.97 ▼51.00 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.66 ▼44.14 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.57 ▼80.32 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.42 ▼26.34 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_tackback_and_pingback_widget |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Trackback and Pingback Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.14 | 4.60 ▲2.75 | 41.22 ▼7.31 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▼0.06 | 94.55 ▼7.40 | 38.51 ▼5.94 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 41.88 ▼0.71 | 34.19 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.22 ▲0.42 | 595.68 ▼63.45 | 50.24 ▼9.40 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.01 | 94.63 ▼12.64 | 43.07 ▼2.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/trackback-and-pingback-widget/front-end/class/TrackbackAndPingbackWidget.php+385
Declaration of Walker_TrackandPingbacks::paged_walk($elements, $max_depth, $page_num, $per_page) should be compatible with Walker::paged_walk($elements, $max_depth, $page_num, $per_page, ...$args)
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_tackback_and_pingback_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/trackback-and-pingback-widget/front-end/class/TrackbackAndPingbackWidget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
trackback-and-pingback-widget/trackback-and-pingback-widget.php 92% from 13 tests
This is the main PHP file of "Trackback and Pingback Widget" version 1.0.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected606 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 120 | 103 | 444 |
PO File | 2 | 58 | 66 | 162 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 6.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 17 | |
▷ Static methods | 3 | 17.65% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 3 | 17.65% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected