90% floating-section-elementor

Code Review | Floating Section Elementor

WordPress plugin Floating Section Elementor scored90%from 54 tests.

About plugin

  • Plugin page: floating-section-...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.2.2
  • WordPress version: 6.3.1
  • First release: May 23, 2019
  • Latest release: Jul 6, 2019
  • Number of updates: 5
  • Update frequency: every 8.6 days
  • Top authors: fiqhid24 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,960 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by Floating Section Elementor
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.86 ▼2.02
Dashboard /wp-admin3.32 ▼0.0351.99 ▼13.61
Posts /wp-admin/edit.php3.37 ▲0.0156.00 ▲0.09
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.87 ▼3.45
Media Library /wp-admin/upload.php3.24 ▲0.0138.56 ▼3.44

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Floating Section Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.62 ▲0.251.67 ▼0.3541.79 ▼0.24
Dashboard /wp-admin2,195 ▲215.50 ▼0.0384.85 ▼4.8340.21 ▼9.17
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0940.30 ▲0.0534.66 ▼7.21
Add New Post /wp-admin/post-new.php1,526 ▼023.20 ▼0.48630.57 ▼88.9654.45 ▼10.55
Media Library /wp-admin/upload.php1,403 ▲34.22 ▼0.0095.47 ▼19.2343.28 ▼8.69

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
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

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
3 plugin tags: floating, bar, elementor

floating-section-elementor/floating-section-elementor.php 92% from 13 tests

The main PHP script in "Floating Section Elementor" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin106 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1211979
Markdown110027

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG files were detected