93% a-z-indexing-startup

Code Review | A-Z Indexing startup

WordPress plugin A-Z Indexing startup scored 93% from 54 tests.

About plugin

  • Plugin page: a-z-indexing-startup
  • Plugin version: 0.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9
  • WordPress version: 5.9.2
  • First release: Dec 21, 2014
  • Latest release: Dec 22, 2014
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: ridahost (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

100+ active / 3,128 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

This is a short check of server-side resources used by A-Z Indexing startup
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0159.81 ▲5.29
Dashboard /wp-admin3.41 ▲0.0133.42 ▼3.83
Posts /wp-admin/edit.php3.65 ▲0.0138.73 ▲1.61
Add New Post /wp-admin/post-new.php6.88 ▼0.0992.59 ▼1,192.14
Media Library /wp-admin/upload.php3.30 ▲0.0023.31 ▼2.26

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A-Z Indexing startup: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲7015.93 ▲0.276.17 ▲0.393.54 ▲1.44
Dashboard /wp-admin2,895 ▲376.01 ▼0.14115.41 ▼22.36160.68 ▼6.03
Posts /wp-admin/edit.php2,685 ▼93.25 ▲0.0165.24 ▼2.31139.37 ▼5.15
Add New Post /wp-admin/post-new.php1,661 ▼3516.00 ▼5.33415.47 ▼22.73158.55 ▼4.45
Media Library /wp-admin/upload.php1,698 ▲35.51 ▼0.02145.39 ▼4.10187.61 ▼0.12

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
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 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/a-z-indexing-startup/A-Z-Indexing-startup.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (Here's a screenshot of it in action)
The official readme.txt might help

a-z-indexing-startup/A-Z-Indexing-startup.php 85% from 13 tests

The primary PHP file in "A-Z Indexing startup" version 0.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("a-z-indexing-startup.php" instead of "A-Z-Indexing-startup.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 229 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin9 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.67
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected