84% custom-bulleted-lists

Code Review | Custom Bulleted Lists

WordPress plugin Custom Bulleted Lists scored84%from 54 tests.

About plugin

  • Plugin page: custom-bulleted-l...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8
  • WordPress version: 6.3.1
  • First release: Jul 19, 2017
  • Latest release: Jul 24, 2017
  • Number of updates: 3
  • Update frequency: every 1.7 days
  • Top authors: janmejai (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active /4,038 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by Custom Bulleted Lists
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.53 ▼4.30
Dashboard /wp-admin3.31 ▲0.0144.59 ▼4.32
Posts /wp-admin/edit.php3.36 ▲0.0147.27 ▲2.29
Add New Post /wp-admin/post-new.php5.89 ▲0.0181.29 ▼19.24
Media Library /wp-admin/upload.php3.24 ▲0.0133.67 ▲1.28

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Custom Bulleted Lists: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.22 ▼1.152.04 ▲0.0643.41 ▼1.16
Dashboard /wp-admin2,208 ▲234.87 ▼1.03108.50 ▼9.1937.92 ▼6.15
Posts /wp-admin/edit.php2,094 ▲52.03 ▼0.0140.88 ▼0.2234.36 ▼2.16
Add New Post /wp-admin/post-new.php1,530 ▲1123.08 ▼0.16635.86 ▲38.5357.96 ▲11.34
Media Library /wp-admin/upload.php1,390 ▲24.22 ▲0.0297.92 ▼3.2242.89 ▲0.04

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
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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/custom-bulleted-lists/custom-bulleted-lists.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: custom bullets, custom bullet lists, bullet points, bullets, custom lists

custom-bulleted-lists/custom-bulleted-lists.php Passed 13 tests

The principal PHP file in "Custom Bulleted Lists" v. 1.1 is loaded by WordPress automatically on each request
128 characters long description:
Use Custom Bullet lists in your WordPress posts and pages with attractive and colofrul icons to write visually engaging content.

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
There were no executable files found in this plugin184 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript10081
CSS113064
PHP1101739

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions7
▷ Named functions7100.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