90% fancy-roller-scroller

Code Review | Fancy Roller Scroller

WordPress plugin Fancy Roller Scroller scored90%from 54 tests.

About plugin

  • Plugin page: fancy-roller-scro...
  • Plugin version: 1.4.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.0
  • WordPress version: 6.3.1
  • First release: Jan 9, 2019
  • Latest release: Jun 15, 2022
  • Number of updates: 22
  • Update frequency: every 57.0 days
  • Top authors: iwillmakeyourwebsite (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /910 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.01MB] [CPU: ▼2.99ms] Passed 4 tests

A check of server-side resources used by Fancy Roller Scroller
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.62 ▼7.85
Dashboard /wp-admin3.31 ▲0.0149.93 ▼3.07
Posts /wp-admin/edit.php3.36 ▲0.0150.81 ▲0.45
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.08 ▼1.50
Media Library /wp-admin/upload.php3.23 ▲0.0138.03 ▲2.38
Fancy Roller Scroller /wp-admin/options-general.php?page=fancy-roller-scroller-setup3.2033.71

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded
can_compress_scripts
ListOfStuff

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fancy Roller Scroller
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.19 ▼1.162.16 ▲0.0845.31 ▲1.39
Dashboard /wp-admin2,210 ▲194.86 ▼0.03110.22 ▲2.2943.64 ▲2.21
Posts /wp-admin/edit.php2,093 ▲42.02 ▲0.0041.78 ▲5.1336.10 ▲1.33
Add New Post /wp-admin/post-new.php1,531 ▲518.44 ▼4.71663.64 ▲9.7058.90 ▼0.43
Media Library /wp-admin/upload.php1,392 ▲14.19 ▼0.05111.65 ▲4.3247.39 ▲1.83
Fancy Roller Scroller /wp-admin/options-general.php?page=fancy-roller-scroller-setup8482.0323.42161.07

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • ListOfStuff
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (Plugin settings pannel.)
You can look at the official readme.txt

fancy-roller-scroller/fancy-roller-scroller.php Passed 13 tests

The principal PHP file in "Fancy Roller Scroller" v. 1.4.0 is loaded by WordPress automatically on each request
32 characters long description:
add a rolling list to your page.

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
There were no executable files found in this plugin336 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS240146
JavaScript2131118
PHP1251872

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin