99% flux-addons

Code Review | Flux Elementor Addons

WordPress plugin Flux Elementor Addons scored 99% from 54 tests.

About plugin

  • Plugin page: flux-addons
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.3.2
  • WordPress version: 5.8.1
  • First release: Mar 8, 2020
  • Latest release: Mar 12, 2020
  • Number of updates: 14
  • Update frequency: every 0.4 days
  • Top authors: fluxtheme (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

30+ active / 770 total downloads

Benchmarks

Plugin footprint Passed 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.02MB] [CPU: ▼134.54ms] Passed 4 tests

Server-side resources used by Flux Elementor Addons
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1437.75 ▲12.26
Dashboard /wp-admin3.08 ▲0.0350.89 ▲10.61
Posts /wp-admin/edit.php3.17 ▲0.0550.89 ▼6.59
Add New Post /wp-admin/post-new.php5.44 ▲0.00100.76 ▼541.46
Media Library /wp-admin/upload.php3.02 ▲0.0236.83 ▼0.70

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 89 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Flux Elementor Addons
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,764 ▲12715.94 ▲0.728.45 ▲0.4646.66 ▼6.07
Dashboard /wp-admin3,015 ▲815.94 ▲0.03153.54 ▼3.75126.11 ▼2.03
Posts /wp-admin/edit.php2,800 ▲642.72 ▲0.0373.50 ▲0.6295.85 ▼0.97
Add New Post /wp-admin/post-new.php1,724 ▲22618.83 ▼0.03402.84 ▲32.90107.57 ▼9.08
Media Library /wp-admin/upload.php1,793 ▼175.02 ▲0.00160.27 ▲7.03127.85 ▲1.95

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: elements, page builder, essential widget, elementor addons, elementor...

flux-addons/flux-addons.php 85% from 13 tests

The primary PHP file in "Flux Elementor Addons" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters
  • Git Repository: Please remove the Git repository from this plugin

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin14,439 lines of code in 68 files:
LanguageFilesBlank linesComment linesLines of code
PHP271,5691,8167,996
CSS134391212,987
Sass141921151,888
JavaScript92584411,316
Markdown1570149
JSON30086
SVG10017

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity16.55
▷ Minimum class complexity1.00
▷ Maximum class complexity65.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces6
Interfaces0
Traits1
Classes21
▷ Abstract classes00.00%
▷ Concrete classes21100.00%
▷ Final classes00.00%
Methods212
▷ Static methods115.19%
▷ Public methods15472.64%
▷ Protected methods3014.15%
▷ Private methods2813.21%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants9
▷ Global constants666.67%
▷ Class constants333.33%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin