10% trackback-and-pingback-widget

Code Review | Trackback and Pingback Widget

WordPress plugin Trackback and Pingback Widget scored10%from 54 tests.

About plugin

  • Plugin page: trackback-and-pin...
  • Plugin version: 1.0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.7.1
  • WordPress version: 6.3.1
  • First release: Jan 5, 2013
  • Latest release: Dec 25, 2013
  • Number of updates: 24
  • Update frequency: every 14.8 days
  • Top authors: miunosoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,329 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.435.06 ▼36.66
Dashboard /wp-admin2.05 ▼1.266.97 ▼51.00
Posts /wp-admin/edit.php2.05 ▼1.315.66 ▼44.14
Add New Post /wp-admin/post-new.php2.05 ▼3.846.57 ▼80.32
Media Library /wp-admin/upload.php2.05 ▼1.188.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.25 ▼1.144.60 ▲2.7541.22 ▼7.31
Dashboard /wp-admin2,203 ▲125.84 ▼0.0694.55 ▼7.4038.51 ▼5.94
Posts /wp-admin/edit.php2,089 ▼02.01 ▲0.0241.88 ▼0.7134.19 ▼4.62
Add New Post /wp-admin/post-new.php1,533 ▼023.22 ▲0.42595.68 ▼63.4550.24 ▼9.40
Media Library /wp-admin/upload.php1,388 ▼04.20 ▲0.0194.63 ▼12.6443.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

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
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP4120103444
PO File25866162

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 code0.39
Average class complexity22.75
▷ Minimum class complexity3.00
▷ Maximum class complexity51.00
Average method complexity6.12
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
Methods17
▷ Static methods317.65%
▷ Public methods1482.35%
▷ Protected methods317.65%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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