84% wp-seo-nofollow

Code Review | WordPress SEO nofollow

WordPress plugin WordPress SEO nofollow scored84%from 54 tests.

About plugin

  • Plugin page: wp-seo-nofollow
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9.8
  • WordPress version: 6.3.1
  • First release: Oct 29, 2014
  • Latest release: Aug 8, 2018
  • Number of updates: 11
  • Update frequency: every 125.4 days
  • Top authors: 0 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,558 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼9.02ms] Passed 4 tests

This is a short check of server-side resources used by WordPress SEO nofollow
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0334.70 ▼5.23
Dashboard /wp-admin3.33 ▼0.0145.41 ▼14.26
Posts /wp-admin/edit.php3.38 ▲0.0344.47 ▼0.49
Add New Post /wp-admin/post-new.php5.91 ▲0.0382.00 ▼16.08
Media Library /wp-admin/upload.php3.25 ▲0.0336.15 ▲2.44
WordPress SEO nofollow /wp-admin/options-general.php?page=wp-seo-nofollow/wp-seo-nofollow.php3.2232.43

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WordPress SEO nofollow
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4714.39 ▲0.031.62 ▼0.2136.25 ▼10.04
Dashboard /wp-admin2,199 ▲195.63 ▼0.0382.51 ▼16.7638.47 ▼8.55
Posts /wp-admin/edit.php2,104 ▲41.99 ▼0.0439.65 ▲1.5538.39 ▲4.42
Add New Post /wp-admin/post-new.php1,531 ▲323.31 ▲0.20688.64 ▲23.7154.50 ▼0.12
Media Library /wp-admin/upload.php1,404 ▲74.18 ▲0.0394.79 ▼2.2041.01 ▼4.36
WordPress SEO nofollow /wp-admin/options-general.php?page=wp-seo-nofollow/wp-seo-nofollow.php8932.0425.11101.92

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 add_action() in wp-content/plugins/wp-seo-nofollow/wp-seo-nofollow.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: seo, nofollow

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

Analyzing the main PHP file in "WordPress SEO nofollow" version 1.1
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 169 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected118 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1616118

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.25MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/qr-alipay.png16.18KB9.46KB▼ 41.53%
images/banner-772x250.png193.10KB34.27KB▼ 82.25%
images/screenshot-1.png49.09KB19.67KB▼ 59.92%