83% nofollow-doctor-wp

Code Review | WordPress Nofollow Master

WordPress plugin WordPress Nofollow Master scored83%from 54 tests.

About plugin

  • Plugin page: nofollow-doctor-wp
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.1
  • WordPress version: 6.3.1
  • First release: Feb 16, 2015
  • Latest release: Mar 8, 2015
  • Number of updates: 6
  • Update frequency: every 3.5 days
  • Top authors: rraju007 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /941 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

Server-side resources used by WordPress Nofollow Master
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.22 ▼7.86
Dashboard /wp-admin3.31 ▼0.0445.67 ▼8.17
Posts /wp-admin/edit.php3.36 ▲0.0048.81 ▼2.59
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.83 ▼3.41
Media Library /wp-admin/upload.php3.24 ▲0.0035.03 ▲2.00

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for WordPress Nofollow Master
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.351.62 ▼0.6241.12 ▼9.93
Dashboard /wp-admin2,206 ▲184.86 ▼0.04110.10 ▼1.1143.78 ▲4.86
Posts /wp-admin/edit.php2,092 ▼02.00 ▼0.0440.46 ▼2.1634.91 ▼2.40
Add New Post /wp-admin/post-new.php1,514 ▼2817.51 ▼0.81602.53 ▼26.8445.33 ▼19.82
Media Library /wp-admin/upload.php1,382 ▼64.22 ▲0.0597.03 ▼7.2541.63 ▼3.56

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/nofollow-doctor-wp/wp-noffow-master.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% 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
Please fix the following attributes:
  • Donate link: Invalid URI ("")
Please take inspiration from this readme.txt

nofollow-doctor-wp/wp-noffow-master.php 85% from 13 tests

Analyzing the main PHP file in "WordPress Nofollow Master" version 1.1
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("nofollow-doctor-wp.php" instead of "wp-noffow-master.php")

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 plugin15 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141215

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There are no PNG files in this plugin