90% delicious-tagroll-shortcode

Code Review | delicious tagroll shortcode

WordPress plugin delicious tagroll shortcode scored90%from 54 tests.

About plugin

  • Plugin page: delicious-tagroll...
  • Plugin version: 2.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.7
  • WordPress version: 6.3.1
  • First release: Nov 19, 2009
  • Latest release: Dec 12, 2016
  • Number of updates: 36
  • Update frequency: every 71.7 days
  • Top authors: PerS (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /3,931 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.00MB] [CPU: ▲0.65ms] Passed 4 tests

Analyzing server-side resources used by delicious tagroll shortcode
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0034.31 ▼3.02
Dashboard /wp-admin3.31 ▲0.0144.34 ▲1.40
Posts /wp-admin/edit.php3.36 ▲0.0048.52 ▲1.10
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.78 ▲6.10
Media Library /wp-admin/upload.php3.23 ▲0.0034.16 ▲3.11

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for delicious tagroll shortcode
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7914.74 ▲0.151.92 ▲0.2838.33 ▼0.87
Dashboard /wp-admin2,206 ▲204.82 ▼0.13107.99 ▼12.2841.11 ▼2.04
Posts /wp-admin/edit.php2,092 ▼02.01 ▲0.0138.70 ▲2.6736.43 ▼0.12
Add New Post /wp-admin/post-new.php1,543 ▲618.29 ▼4.73576.90 ▼79.0548.36 ▼10.51
Media Library /wp-admin/upload.php1,391 ▼04.18 ▼0.0494.23 ▲1.0842.41 ▼0.23

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

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 96% from 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
4 plugin tags: shortcode, tagroll, delicious, wpmu

delicious-tagroll-shortcode/delicious-tagroll-shortcode.php 92% from 13 tests

Analyzing the main PHP file in "delicious tagroll shortcode" version 2.2.2
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 186 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected142 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12817127
CSS11515

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods110.00%
▷ Public methods990.00%
▷ Protected methods00.00%
▷ Private methods110.00%
Functions0
▷ Named functions00.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
There were not PNG files found in your plugin