90% nested-ordered-lists

Code Review | Nested Ordered Lists

WordPress plugin Nested Ordered Lists scored90%from 54 tests.

About plugin

  • Plugin page: nested-ordered-lists
  • Plugin version: 1.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.0
  • WordPress version: 6.3.1
  • First release: Oct 4, 2015
  • Latest release: May 3, 2022
  • Number of updates: 24
  • Update frequency: every 100.3 days
  • Top authors: numeeja (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

1,000+ active /8,652 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
This plugin's installer ran successfully

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

Analyzing server-side resources used by Nested Ordered Lists
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0140.18 ▼2.76
Dashboard /wp-admin3.32 ▼0.0346.48 ▼12.87
Posts /wp-admin/edit.php3.37 ▲0.0143.50 ▼3.84
Add New Post /wp-admin/post-new.php5.92 ▲0.0380.22 ▼18.22
Media Library /wp-admin/upload.php3.24 ▲0.0134.10 ▲0.15

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Nested Ordered Lists: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲3114.76 ▲0.081.67 ▼0.2643.98 ▼3.66
Dashboard /wp-admin2,206 ▲214.87 ▼0.99111.46 ▼10.7043.52 ▼0.14
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0334.45 ▲0.3436.87 ▲0.97
Add New Post /wp-admin/post-new.php1,536 ▲217.77 ▼5.48640.14 ▼41.9160.13 ▲14.91
Media Library /wp-admin/upload.php1,391 ▲64.22 ▲0.01107.01 ▲4.7445.95 ▲3.66

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: list, bullet point, bullet, nested, ordered list

nested-ordered-lists/nested-ordered-lists.php Passed 13 tests

This is the main PHP file of "Nested Ordered Lists" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
38 characters long description:
Add Formatting to Nested Ordered Lists

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin206 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
CSS300162
PHP1183644

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Constants2
▷ Global constants2100.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
There were not PNG files found in your plugin