84% noindex-seo

Code Review | noindex SEO

WordPress plugin noindex SEO scored84%from 54 tests.

About plugin

  • Plugin page: noindex-seo
  • Plugin version: 1.0.12
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4
  • WordPress version: 6.3.1
  • First release: Apr 3, 2020
  • Latest release: Oct 25, 2023
  • Number of updates: 17
  • Update frequency: every 76.5 days
  • Top authors: JavierCasares (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

6,000+ active /23,090 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.16MB] [CPU: ▼6.20ms] Passed 4 tests

This is a short check of server-side resources used by noindex SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1448.24 ▲6.61
Dashboard /wp-admin3.47 ▲0.1648.16 ▼2.00
Posts /wp-admin/edit.php3.52 ▲0.1644.05 ▼3.92
Add New Post /wp-admin/post-new.php6.05 ▲0.1680.46 ▼18.36
Media Library /wp-admin/upload.php3.39 ▲0.1634.50 ▼0.51
noindex SEO /wp-admin/options-general.php?page=noindex_seo3.3836.23

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for noindex SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.35 ▼0.211.81 ▲0.1742.98 ▲5.84
Dashboard /wp-admin2,199 ▲225.62 ▼0.2293.33 ▲8.8642.62 ▲2.84
Posts /wp-admin/edit.php2,104 ▲12.02 ▲0.0635.85 ▲0.5832.10 ▼2.87
Add New Post /wp-admin/post-new.php1,531 ▲323.05 ▼0.23652.38 ▲5.3560.37 ▼1.23
Media Library /wp-admin/upload.php1,407 ▲44.30 ▲0.1596.39 ▼1.9542.22 ▼1.54
noindex SEO /wp-admin/options-general.php?page=noindex_seo1,2512.0122.9233.37

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means 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
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/noindex-seo/noindex-seo.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Please a description for screenshot #1 in noindex-seo/assets to your readme.txt
The official readme.txt is a good inspiration

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

"noindex SEO" version 1.0.12's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin714 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP256109714

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.52
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%
Functions6
▷ Named functions6100.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
No PNG files were detected