100% custom-tags-lists

Code Review | Custom Tags List

WordPress plugin Custom Tags List scored 100% from 54 tests.

About plugin

  • Plugin page: custom-tags-lists
  • Plugin version: 0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-3.6
  • WordPress version: 5.8.1
  • First release: Nov 29, 2007
  • Latest release: Jun 7, 2013
  • Number of updates: 13
  • Update frequency: every 155.2 days
  • Top authors: jjunyent (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 3,037 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Analyzing server-side resources used by Custom Tags List
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1337.24 ▲15.37
Dashboard /wp-admin3.07 ▲0.0147.22 ▼1.57
Posts /wp-admin/edit.php3.12 ▲0.0050.90 ▼1.30
Add New Post /wp-admin/post-new.php5.43 ▼0.0190.54 ▼547.30
Media Library /wp-admin/upload.php3.01 ▲0.0134.38 ▼0.74

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Custom Tags List
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲6615.89 ▲0.0110.15 ▼0.3351.24 ▲0.27
Dashboard /wp-admin2,967 ▲365.90 ▼0.05140.77 ▼21.82118.99 ▼1.52
Posts /wp-admin/edit.php2,739 ▼02.70 ▲0.0175.41 ▲1.3092.86 ▼5.52
Add New Post /wp-admin/post-new.php1,683 ▼018.73 ▼0.04374.40 ▼5.59119.93 ▲9.46
Media Library /wp-admin/upload.php1,807 ▼35.00 ▼0.08156.72 ▲10.34125.63 ▼5.30

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 Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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 a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: tags

custom-tags-lists/customtagslist.php 92% from 13 tests

Analyzing the main PHP file in "Custom Tags List" version 0.2.1
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("custom-tags-lists.php" instead of "customtagslist.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin159 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22124159

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.55
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected