84% noindex-author

Code Review | Noindex Author

WordPress plugin Noindex Author scored 84% from 54 tests.

About plugin

  • Plugin page: noindex-author
  • Plugin version: 1.1
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 10, 2021
  • Latest release: Jul 21, 2023
  • Number of updates: 16
  • Update frequency: every 44.4 days
  • Top authors: siriusproio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 788 total downloads

Benchmarks

Plugin footprint 83% from 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.01MB] [CPU: ▲0.10ms] Passed 4 tests

A check of server-side resources used by Noindex Author
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0147.26 ▲7.58
Dashboard /wp-admin3.32 ▲0.0144.44 ▲0.84
Posts /wp-admin/edit.php3.37 ▲0.0146.94 ▼2.34
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.61 ▼0.81
Media Library /wp-admin/upload.php3.24 ▲0.0138.20 ▲2.70
Noindex Author /wp-admin/options-general.php?page=sp_noindex_author-slug3.2031.83

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Noindex Author
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.28 ▼1.106.39 ▲4.3839.65 ▼1.17
Dashboard /wp-admin2,210 ▲225.88 ▲0.8895.35 ▼25.2234.65 ▼9.78
Posts /wp-admin/edit.php2,096 ▲72.00 ▼0.0440.29 ▲1.3036.22 ▲0.99
Add New Post /wp-admin/post-new.php1,517 ▼1817.65 ▼5.58663.28 ▲70.2351.41 ▲4.26
Media Library /wp-admin/upload.php1,392 ▲104.21 ▲0.0197.56 ▼1.4144.48 ▲0.15
Noindex Author /wp-admin/options-general.php?page=sp_noindex_author-slug7732.0622.6225.08

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 1× 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/noindex-author/noindex-author.php:16

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

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
Please take inspiration from this readme.txt

noindex-author/noindex-author.php Passed 13 tests

This is the main PHP file of "Noindex Author" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Simply exclude all author posts from indexing it in SERPs.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin63 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1251263

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin