84% noindex-links

Code Review | Noindex Links

WordPress plugin Noindex Links scored84%from 54 tests.

About plugin

  • Plugin page: noindex-links
  • Plugin version: 2.00
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-6.1
  • WordPress version: 6.3.1
  • First release: Sep 19, 2014
  • Latest release: Oct 30, 2022
  • Number of updates: 32
  • Update frequency: every 92.6 days
  • Top authors: Flector (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /4,208 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
Installer ran successfully

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

Analyzing server-side resources used by Noindex Links
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.0049.39 ▼1.23
Dashboard /wp-admin3.57 ▲0.0161.30 ▲6.43
Posts /wp-admin/edit.php3.68 ▲0.0049.71 ▼6.08
Add New Post /wp-admin/post-new.php6.15 ▲0.0091.31 ▼10.21
Media Library /wp-admin/upload.php3.49 ▲0.0041.25 ▼2.07

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Noindex Links
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲514.43 ▲0.052.24 ▲0.1353.57 ▲7.60
Dashboard /wp-admin2,197 ▲175.60 ▼0.0387.87 ▼3.7938.91 ▼5.97
Posts /wp-admin/edit.php2,100 ▼02.02 ▼0.0134.67 ▼3.9033.89 ▼3.02
Add New Post /wp-admin/post-new.php1,554 ▲1418.64 ▲0.49676.07 ▲15.0558.59 ▼3.17
Media Library /wp-admin/upload.php1,403 ▲34.21 ▲0.0298.62 ▼17.2842.41 ▼5.85

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • 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
Good news, no errors were detected

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
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 add_filter() in wp-content/plugins/noindex-links/noindex-links.php:14

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: noindex, yandex, nofollow, wp-noindex

noindex-links/noindex-links.php 92% from 13 tests

The main PHP file in "Noindex Links" ver. 2.00 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 198 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin10 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12810

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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
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 functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected