73% bullet-list

Code Review | Bullet List

WordPress plugin Bullet List scored 73% from 53 tests.

About plugin

  • Plugin page: bullet-list
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.7.5
  • WordPress version: 5.8.1
  • First release: May 30, 2017
  • Latest release: May 30, 2017
  • Number of updates: 31
  • Update frequency: every 3.4 days
  • Top authors: jayghosh (100%)

Code review

53 tests

User reviews

1 review

Install metrics

40+ active / 1,371 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

This is a short check of server-side resources used by Bullet List
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.1228.47 ▲4.05
Dashboard /wp-admin3.06 ▲0.0141.29 ▼1.26
Posts /wp-admin/edit.php3.12 ▲0.0138.22 ▼5.23
Add New Post /wp-admin/post-new.php5.43 ▼0.0091.11 ▼1,075.38
Media Library /wp-admin/upload.php3.01 ▼0.0035.03 ▼3.69
create new /wp-admin/admin.php?page=team-bullet-list-ultimate-new3.0225.62
bullet lists /wp-admin/admin.php?page=team-bullet-list-ultimate3.0230.41

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 36 new files
Database: 2 new tables, 1 new option
New tables
wp_team_bullet_list_ultimate_style
wp_team_bullet_list_ultimate_list
New WordPress options
team_bullet_list_ultimate_version

Browser metrics Passed 4 tests

Bullet List: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,707 ▲10115.93 ▲0.357.71 ▼1.2845.82 ▼2.88
Dashboard /wp-admin2,967 ▲1145.89 ▲0.04133.77 ▲3.50100.30 ▼5.70
Posts /wp-admin/edit.php2,740 ▲342.69 ▲0.0179.77 ▲10.9590.75 ▲2.16
Add New Post /wp-admin/post-new.php1,678 ▼17516.80 ▼2.42379.57 ▼6.98123.41 ▲15.98
Media Library /wp-admin/upload.php1,806 ▲345.00 ▼0.00168.32 ▲14.96117.66 ▲10.76
create new /wp-admin/admin.php?page=team-bullet-list-ultimate-new3,0632.4461.92214.05
bullet lists /wp-admin/admin.php?page=team-bullet-list-ultimate1,0612.3757.9345.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 failed, leaving 2 tables in the database
    • wp_team_bullet_list_ultimate_style
    • wp_team_bullet_list_ultimate_list
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • team_bullet_list_ultimate_version

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=team-bullet-list-ultimate-new
    • > Notice in wp-content/plugins/bullet-list/admin.php+12
    Undefined index: styleid
    • > GET request to /wp-admin/admin.php?page=team-bullet-list-ultimate-new
    • > Notice in wp-content/plugins/bullet-list/admin/style-new.php+7
    Undefined index: file-sub
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=team-bullet-list-ultimate-new
    • > Notice in wp-content/plugins/bullet-list/admin/style-new.php+1281
    Undefined variable: styledata
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=team-bullet-list-ultimate-new
    • > Notice in wp-content/plugins/bullet-list/admin/style-new.php+1281
    Trying to access array offset on value of type null

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 just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
  • Screenshots: Add descriptions for screenshots #1, #2, #3 in bullet-list/assets to your readme.txt
You can take inspiration from this readme.txt

bullet-list/index.php 92% from 13 tests

The main PHP script in "Bullet List" version 1.0 is automatically included on every request by WordPress
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("bullet-list.php" instead of "index.php")

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 plugin9,660 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
PHP1032985,929
SVG2002,959
CSS47016703
JavaScript572169

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 0% from 1 test

Image compression 0% from 1 test

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.71MB with 0.43MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/image/clean.png147.77KB93.14KB▼ 36.97%
admin/image/fige.png175.45KB54.11KB▼ 69.16%
admin/image/bullets.png119.32KB51.30KB▼ 57.01%
admin/image/centered.png288.86KB64.19KB▼ 77.78%