94% ultimate-nofollow-seo

Code Review | Ultimate NoFollow SEO

WordPress plugin Ultimate NoFollow SEO scored 94% from 54 tests.

About plugin

  • Plugin page: ultimate-nofollow...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7
  • WordPress version: 5.8.1
  • First release: Apr 13, 2017
  • Latest release: May 10, 2017
  • Number of updates: 10
  • Update frequency: every 3.0 days
  • Top authors: heygoto (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 2,440 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼137.97ms] Passed 4 tests

An overview of server-side resources used by Ultimate NoFollow SEO
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.1639.59 ▲14.31
Dashboard /wp-admin3.10 ▲0.0553.67 ▼4.49
Posts /wp-admin/edit.php3.15 ▲0.0574.05 ▲20.51
Add New Post /wp-admin/post-new.php5.46 ▲0.03108.46 ▼561.00
Media Library /wp-admin/upload.php3.04 ▲0.0437.87 ▼0.70

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ultimate NoFollow SEO
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,710 ▲13815.98 ▲0.4610.37 ▲1.0853.49 ▲3.66
Dashboard /wp-admin2,989 ▲586.16 ▲0.18154.43 ▼34.29137.32 ▼29.89
Posts /wp-admin/edit.php2,783 ▲442.86 ▲0.1486.89 ▲0.11100.29 ▼3.66
Add New Post /wp-admin/post-new.php1,702 ▲8716.02 ▼5.41431.59 ▲91.00116.90 ▼11.70
Media Library /wp-admin/upload.php1,777 ▼305.05 ▲0.04168.28 ▲10.24148.56 ▲23.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-nofollow-seo/includes/functions.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-nofollow-seo/includes/fetch_data_ajax.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention: The official readme.txt might help

ultimate-nofollow-seo/ultimate-nofollow-seo.php 92% from 13 tests

The main PHP file in "Ultimate NoFollow SEO" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 449 characters long)

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 plugin463 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP4149202
CSS1264131
JavaScript2110130

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions9
▷ Named functions9100.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
2 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/heygoto-banner.png114.41KB44.32KB▼ 61.26%
icon.png0.69KB0.43KB▼ 37.69%