84% super-simple-jquery-parallax-background

Code Review | Super Simple jQuery Parallax Background

WordPress plugin Super Simple jQuery Parallax Background scored84%from 54 tests.

About plugin

  • Plugin page: super-simple-jque...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8.1-3.8.1
  • WordPress version: 6.3.1
  • First release: Mar 25, 2014
  • Latest release: Mar 25, 2014
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: tommygeorge (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

500+ active /17,627 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
Installer ran successfully

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

Server-side resources used by Super Simple jQuery Parallax Background
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0137.03 ▼6.80
Dashboard /wp-admin3.31 ▲0.0049.54 ▼0.91
Posts /wp-admin/edit.php3.36 ▲0.0047.68 ▲1.45
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.97 ▲5.28
Media Library /wp-admin/upload.php3.23 ▲0.0032.27 ▼1.31

Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Super Simple jQuery Parallax Background
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,933 ▲19813.55 ▼0.849.43 ▲7.1542.10 ▼6.42
Dashboard /wp-admin2,203 ▲155.81 ▼0.08100.71 ▼10.9539.17 ▼7.87
Posts /wp-admin/edit.php2,086 ▼32.00 ▼0.0239.41 ▲2.3835.73 ▲0.75
Add New Post /wp-admin/post-new.php1,547 ▲518.31 ▲0.08607.40 ▼70.3465.30 ▲5.74
Media Library /wp-admin/upload.php1,391 ▲34.18 ▼0.1196.87 ▼0.8041.39 ▲0.24

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

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

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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-simple-jquery-parallax-background/super-simple-jquery-parallax-background.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: image, simple, paralax, parallax, background

super-simple-jquery-parallax-background/super-simple-jquery-parallax-background.php Passed 13 tests

This is the main PHP file of "Super Simple jQuery Parallax Background" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
120 characters long description:
For themes with background images, creates a parallax effect when scrolling. Super simple; no configuration. Just works.

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 plugin68 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
HTML121050
PHP121312
JavaScript1166

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin