84% scrollies

Code Review | Scrollies - good vibes for your website

WordPress plugin Scrollies - good vibes for your website scored84%from 54 tests.

About plugin

  • Plugin page: scrollies
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.9
  • WordPress version: 6.3.1
  • First release: May 26, 2021
  • Latest release: Feb 13, 2022
  • Number of updates: 7
  • Update frequency: every 37.6 days
  • Top authors: florcz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /414 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.02MB] [CPU: ▼7.68ms] Passed 4 tests

A check of server-side resources used by Scrollies - good vibes for your website
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0140.94 ▼1.21
Dashboard /wp-admin3.32 ▲0.0247.70 ▼4.08
Posts /wp-admin/edit.php3.37 ▲0.0253.21 ▼0.71
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.37 ▼24.71
Media Library /wp-admin/upload.php3.25 ▲0.0239.90 ▲0.25
Scrollies /wp-admin/options-general.php?page=scrollies3.2140.72

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Scrollies - good vibes for your website
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,976 ▲21513.83 ▼0.429.83 ▲8.1439.43 ▼4.07
Dashboard /wp-admin2,199 ▲225.57 ▲0.0287.22 ▼14.1939.50 ▼2.25
Posts /wp-admin/edit.php2,101 ▼21.98 ▼0.0135.50 ▼5.9530.97 ▼7.62
Add New Post /wp-admin/post-new.php1,529 ▲323.23 ▲0.07695.33 ▲70.4057.34 ▲1.83
Media Library /wp-admin/upload.php1,401 ▲74.21 ▼0.02106.17 ▲0.5247.55 ▲4.94
Scrollies /wp-admin/options-general.php?page=scrollies8712.0223.2628.21

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/scrollies/scrollies.php

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 Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: animals, scroll

scrollies/scrollies.php Passed 13 tests

Analyzing the main PHP file in "Scrollies - good vibes for your website" version 1.0.1
63 characters long description:
Enlive your webpage with scrolling sheeps, catch visitor's eye.

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
Good job! No executable or dangerous file extensions detected357 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP14817207
CSS217783
JavaScript2171067

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin