93% skeleton-shortcodes-collection

Code Review | Skeleton Shortcodes Collection

WordPress plugin Skeleton Shortcodes Collection scored 93% from 54 tests.

About plugin

  • Plugin page: skeleton-shortcod...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.5.2
  • WordPress version: 5.8.1
  • First release: Jun 21, 2016
  • Latest release: Jun 21, 2016
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: demoify (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 469 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

An overview of server-side resources used by Skeleton Shortcodes Collection
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0131.10 ▲2.71
Dashboard /wp-admin3.06 ▲0.0149.80 ▲11.14
Posts /wp-admin/edit.php3.11 ▲0.0151.55 ▲4.97
Add New Post /wp-admin/post-new.php5.42 ▼0.0196.14 ▼564.43
Media Library /wp-admin/upload.php3.01 ▲0.0028.23 ▲0.16

Server storage [IO: ▲0.03MB] [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, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Skeleton Shortcodes Collection
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,705 ▲9915.80 ▲0.218.81 ▲0.2052.77 ▲2.05
Dashboard /wp-admin2,967 ▲335.92 ▲0.02166.45 ▲19.03112.07 ▼10.30
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0077.19 ▲8.16106.51 ▲7.63
Add New Post /wp-admin/post-new.php1,594 ▼8918.85 ▲0.16389.56 ▲17.03129.39 ▲16.53
Media Library /wp-admin/upload.php1,807 ▼05.01 ▼0.01165.19 ▲22.14127.27 ▲2.60

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skeleton-shortcodes-collection/shortcodes-collection.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Donate link: Invalid URI found ("")
You can take inspiration from this readme.txt

skeleton-shortcodes-collection/shortcodes-collection.php 85% from 13 tests

Analyzing the main PHP file in "Skeleton Shortcodes Collection" version 1.0.0
You should first fix the following items:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("skeleton-shortcodes-collection.php" instead of "shortcodes-collection.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
Everything looks great! No dangerous files found in this plugin233 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14130125
CSS1152108

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.03
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%
Functions26
▷ Named functions26100.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
No PNG images were found in this plugin