84% post-title-marquee-scroll

Code Review | Post title marquee scroll

WordPress plugin Post title marquee scroll scored84%from 54 tests.

About plugin

  • Plugin page: post-title-marque...
  • Plugin version: 9.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Aug 9, 2011
  • Latest release: Dec 1, 2022
  • Number of updates: 50
  • Update frequency: every 82.7 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

3,000+ active /81,819 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.07MB] [CPU: ▼2.46ms] Passed 4 tests

This is a short check of server-side resources used by Post title marquee scroll
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0740.13 ▼1.34
Dashboard /wp-admin3.38 ▲0.0746.02 ▼2.32
Posts /wp-admin/edit.php3.43 ▲0.0748.26 ▲6.34
Add New Post /wp-admin/post-new.php5.96 ▲0.0798.35 ▼2.63
Media Library /wp-admin/upload.php3.30 ▲0.0732.21 ▼3.54
Post title marquee scroll /wp-admin/options-general.php?page=post-title-marquee-scroll/post-title-marquee-scroll.php3.2732.75

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 16 new options
New WordPress options
widget_theysaidso_widget
ptms_style
db_upgraded
widget_recent-posts
widget_recent-comments
ptms_noofpost
ptms_categories
ptms_scrolldelay
ptms_scrollamount
theysaidso_admin_options
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Post title marquee scroll
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6914.47 ▲0.061.91 ▲0.1745.17 ▼1.61
Dashboard /wp-admin2,210 ▲224.84 ▼0.06107.63 ▲2.0642.71 ▲6.19
Posts /wp-admin/edit.php2,096 ▲72.03 ▼0.0338.92 ▼1.9334.77 ▼1.28
Add New Post /wp-admin/post-new.php1,536 ▼623.44 ▲5.05631.43 ▲0.5048.21 ▼9.66
Media Library /wp-admin/upload.php1,392 ▲14.25 ▲0.0294.62 ▼6.4242.10 ▼5.76
Post title marquee scroll /wp-admin/options-general.php?page=post-title-marquee-scroll/post-title-marquee-scroll.php8872.0522.0028.34

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/post-title-marquee-scroll/post-title-marquee-scroll.php:65

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: post, scroll, marquee, title

post-title-marquee-scroll/post-title-marquee-scroll.php 92% from 13 tests

The main file in "Post title marquee scroll" v. 9.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 280 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin427 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP26420310
PO File24448117

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions10
▷ Named functions10100.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