90% stylish-scrolling-title

Code Review | Stylish Scrolling Title

WordPress plugin Stylish Scrolling Title scored90%from 54 tests.

About plugin

  • Plugin page: stylish-scrolling...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Dec 16, 2016
  • Latest release: May 8, 2023
  • Number of updates: 100
  • Update frequency: every 23.3 days
  • Top authors: tawhidurrahmandear (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /3,453 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

An overview of server-side resources used by Stylish Scrolling Title
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.17 ▲1.72
Dashboard /wp-admin3.31 ▲0.0052.09 ▼2.16
Posts /wp-admin/edit.php3.36 ▲0.0049.12 ▲1.07
Add New Post /wp-admin/post-new.php5.89 ▲0.0091.45 ▼11.39
Media Library /wp-admin/upload.php3.23 ▲0.0036.56 ▲0.59

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Stylish Scrolling Title
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲3514.26 ▼0.092.86 ▲0.9445.27 ▲3.97
Dashboard /wp-admin2,195 ▲155.54 ▼0.1185.94 ▼5.8841.47 ▲0.29
Posts /wp-admin/edit.php2,100 ▼32.02 ▲0.0036.22 ▼0.0436.73 ▼1.70
Add New Post /wp-admin/post-new.php1,528 ▲223.00 ▼0.18673.07 ▼8.8861.23 ▲0.93
Media Library /wp-admin/upload.php1,400 ▼04.19 ▲0.04108.71 ▲11.6345.70 ▲3.57

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: scrolling title, animated title, title, animation, style

stylish-scrolling-title/stylish-scrolling-title.php 92% from 13 tests

The main PHP file in "Stylish Scrolling Title" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 244 characters long)

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 plugin33 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1111133

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin