90% pryc-wp-disable-self-trackback

Code Review | PRyC WP: Disable self trackback

WordPress plugin PRyC WP: Disable self trackback scored90%from 54 tests.

About plugin

  • Plugin page: pryc-wp-disable-s...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.2.2
  • WordPress version: 6.3.1
  • First release: Nov 28, 2014
  • Latest release: Jun 20, 2023
  • Number of updates: 15
  • Update frequency: every 208.5 days
  • Top authors: PRyCpl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,077 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼6.07ms] Passed 4 tests

Analyzing server-side resources used by PRyC WP: Disable self trackback
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.73 ▲0.60
Dashboard /wp-admin3.31 ▼0.0447.04 ▼10.97
Posts /wp-admin/edit.php3.36 ▲0.0046.90 ▼2.04
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.41 ▼11.85
Media Library /wp-admin/upload.php3.24 ▲0.0036.32 ▲1.23

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

PRyC WP: Disable self trackback: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.121.81 ▲0.1243.17 ▲3.12
Dashboard /wp-admin2,206 ▲184.84 ▼0.0298.08 ▼13.7139.69 ▼4.96
Posts /wp-admin/edit.php2,086 ▼62.15 ▲0.0939.96 ▼5.3634.28 ▼1.02
Add New Post /wp-admin/post-new.php1,537 ▲1623.18 ▲0.07637.76 ▼27.8157.17 ▼7.66
Media Library /wp-admin/upload.php1,391 ▲34.20 ▼0.0497.58 ▼17.4846.22 ▼2.06

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Default search before), #2 (Default search after)
The official readme.txt might help

pryc-wp-disable-self-trackback/pryc-wp-disable-self-trackback.php Passed 13 tests

The main file in "PRyC WP: Disable self trackback" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
40 characters long description:
Plugin disable self trackback (comments)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected8 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15108

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code1.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected