89% autolisticle-automatically-update-numbered-list-articles

Code Review | AutoListicle: Automatically Update Numbered List Articles

WordPress plugin AutoListicle: Automatically Update Numbered List Articles scored89%from 54 tests.

About plugin

  • Plugin page: autolisticle-auto...
  • Plugin version: 1.2.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 26, 2019
  • Latest release: Sep 22, 2023
  • Number of updates: 23
  • Update frequency: every 66.0 days
  • Top authors: someguy9 (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

70+ active /1,489 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
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.80ms] Passed 4 tests

An overview of server-side resources used by AutoListicle: Automatically Update Numbered List Articles
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.99 ▼2.07
Dashboard /wp-admin3.32 ▲0.0245.45 ▼5.39
Posts /wp-admin/edit.php3.37 ▲0.0148.81 ▼2.59
Add New Post /wp-admin/post-new.php5.90 ▲0.0185.36 ▼5.15
Media Library /wp-admin/upload.php3.24 ▲0.0140.60 ▲5.70

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for AutoListicle: Automatically Update Numbered List Articles
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.68 ▼0.071.76 ▼0.0742.21 ▼4.47
Dashboard /wp-admin2,198 ▲215.61 ▼0.0791.90 ▲0.4537.68 ▼15.35
Posts /wp-admin/edit.php2,100 ▼01.97 ▼0.0540.04 ▼1.7033.39 ▼7.07
Add New Post /wp-admin/post-new.php1,526 ▼023.12 ▼0.17647.88 ▼75.5961.26 ▲2.86
Media Library /wp-admin/upload.php1,400 ▼04.26 ▲0.0598.35 ▼13.0743.24 ▼4.22

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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 SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% 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: numbered list, listicle, shortcode, auto number

autolisticle-automatically-update-numbered-list-articles/autolisticle.php 85% from 13 tests

The entry point to "AutoListicle: Automatically Update Numbered List Articles" version 1.2.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("autolisticle-automatically-update-numbered-list-articles.php" instead of "autolisticle.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected73 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1131373

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.61
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%
Functions4
▷ Named functions4100.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 images were found in this plugin