90% stomp

Code Review | Stomp

WordPress plugin Stomp scored90%from 54 tests.

About plugin

  • Plugin page: stomp
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.1
  • WordPress version: 6.3.1
  • First release: Aug 11, 2016
  • Latest release: Nov 4, 2022
  • Number of updates: 30
  • Update frequency: every 75.9 days
  • Top authors: numeeja (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,481 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Stomp
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.86 ▼10.84
Dashboard /wp-admin3.32 ▲0.0148.92 ▲0.60
Posts /wp-admin/edit.php3.37 ▲0.0148.68 ▲0.04
Add New Post /wp-admin/post-new.php5.90 ▲0.0196.53 ▲5.04
Media Library /wp-admin/upload.php3.24 ▲0.0135.85 ▲0.66

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Stomp
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,883 ▲13713.62 ▼0.768.62 ▲6.3943.60 ▲0.41
Dashboard /wp-admin2,203 ▲125.84 ▼0.06101.08 ▼5.9948.07 ▲4.21
Posts /wp-admin/edit.php2,086 ▼32.00 ▼0.0139.89 ▲0.2833.84 ▼2.56
Add New Post /wp-admin/post-new.php1,528 ▼518.03 ▼5.08617.87 ▼55.2449.39 ▼7.01
Media Library /wp-admin/upload.php1,388 ▼04.25 ▲0.0392.59 ▼9.0340.30 ▼5.28

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output 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 Passed 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
5 plugin tags: fix, static, short, footer, content

stomp/stomp.php Passed 13 tests

This is the main PHP file of "Stomp" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
79 characters long description:
Stomps the footer down to the bottom of the page when the page content is short

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected39 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1253639

PHP code Passed 2 tests

This is a very shot review of 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.21
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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 files were detected