83% startup-gym-elementor-parallax-section-effect

Code Review | Elementor Parallax Effects Addon

WordPress plugin Elementor Parallax Effects Addon scored83%from 54 tests.

About plugin

  • Plugin page: startup-gym-eleme...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.8-5.2.2
  • WordPress version: 6.3.1
  • First release: Jul 31, 2019
  • Latest release: Dec 19, 2019
  • Number of updates: 16
  • Update frequency: every 9.1 days
  • Top authors: onex (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100+ active /6,315 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.20MB] [CPU: ▲342.61ms] 75% from 4 tests

This is a short check of server-side resources used by Elementor Parallax Effects Addon
Please have a look at the following items
  • Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 342.61ms on /wp-admin/index.php?page=pae-setup)
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.33 ▲2.47
Dashboard /wp-admin3.15 ▼0.16489.97 ▲441.90
Posts /wp-admin/edit.php3.22 ▼0.14487.86 ▲439.22
Add New Post /wp-admin/post-new.php5.46 ▼0.43622.26 ▲519.52
Media Library /wp-admin/upload.php3.17 ▼0.06519.85 ▲486.84
/wp-admin/index.php?page=pae-setup3.0623.17

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Elementor Parallax Effects Addon
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲8613.73 ▼0.791.62 ▼0.1742.60 ▼4.29
Dashboard /wp-admin2,235 ▲475.84 ▼0.02100.36 ▼11.6739.34 ▼2.79
Posts /wp-admin/edit.php2,120 ▲312.01 ▲0.0238.93 ▲3.8433.84 ▲0.04
Add New Post /wp-admin/post-new.php1,554 ▲1523.19 ▲0.21679.31 ▲89.1561.89 ▲12.80
Media Library /wp-admin/upload.php1,417 ▲294.29 ▲0.14103.25 ▲9.1147.01 ▲6.23
/wp-admin/index.php?page=pae-setup780.480.8112.57

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/index.php?page=pae-setup
    • > Notice in wp-content/plugins/startup-gym-elementor-parallax-section-effect/parallax-addons.php+230
    Undefined variable: address

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot_1.png showcase admin backend option for set parallax layer for elementor page builder.), #2 (Screenshot_2.png show all option of parallax effect.)
You can look at the official readme.txt

startup-gym-elementor-parallax-section-effect/parallax-addons.php 85% from 13 tests

The entry point to "Elementor Parallax Effects Addon" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("startup-gym-elementor-parallax-section-effect.php" instead of "parallax-addons.php")
  • Description: The description should be shorter than 140 characters (currently 200 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected602 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP311424450
JavaScript100150
CSS2002

PHP code Passed 2 tests

An short overview of 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.28
Average class complexity12.00
▷ Minimum class complexity2.00
▷ Maximum class complexity27.00
Average method complexity2.18
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods28
▷ Static methods310.71%
▷ Public methods28100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
13 PNG files occupy 0.45MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/banner-772x250.png15.55KB6.94KB▼ 55.39%
assets/images/icon-128x1282.png4.56KB2.50KB▼ 45.28%
assets/Screenshot_2.png83.74KB40.59KB▼ 51.53%
assets/icon-256x256.png28.55KB7.99KB▼ 72.02%
assets/images/icon-128x1283.png4.95KB2.71KB▼ 45.22%