84% remove-medium-cross-links

Code Review | Remove Medium Cross Links

WordPress plugin Remove Medium Cross Links scored84%from 54 tests.

About plugin

  • Plugin page: remove-medium-cro...
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.1.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-4.9
  • WordPress version: 6.3.1
  • First release: Jan 5, 2017
  • Latest release: Feb 6, 2018
  • Number of updates: 41
  • Update frequency: every 9.7 days
  • Top authors: tangrufus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,586 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼0.49ms] Passed 4 tests

An overview of server-side resources used by Remove Medium Cross Links
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0047.94 ▲4.41
Dashboard /wp-admin3.31 ▲0.0057.25 ▲6.66
Posts /wp-admin/edit.php3.36 ▲0.0050.63 ▲1.30
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.73 ▼8.35
Media Library /wp-admin/upload.php3.24 ▲0.0037.19 ▲0.68

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Remove Medium Cross Links
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.37 ▲0.141.95 ▲0.0343.37 ▲1.01
Dashboard /wp-admin2,195 ▲185.54 ▼0.0487.09 ▼3.3235.15 ▼6.91
Posts /wp-admin/edit.php2,100 ▼32.00 ▲0.0233.64 ▼6.2135.66 ▼2.17
Add New Post /wp-admin/post-new.php1,526 ▼023.17 ▼0.02687.73 ▲16.6656.48 ▲0.19
Media Library /wp-admin/upload.php1,397 ▼04.20 ▼0.01101.32 ▲1.1340.00 ▼5.51

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function RMCL\\add_action() in wp-content/plugins/remove-medium-cross-links/remove-medium-cross-links.php:40

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: medium

remove-medium-cross-links/remove-medium-cross-links.php Passed 13 tests

"Remove Medium Cross Links" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Remove Medium cross links footer from WordPress posts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin8 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15278

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.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
Namespaces1
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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin