99% quattuor-addons-for-elementor

Code Review | Quattuor Addons for Elementor

WordPress plugin Quattuor Addons for Elementor scored 99% from 53 tests.

About plugin

  • Plugin page: quattuor-addons-f...
  • Plugin version: 0.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.7
  • WordPress version: 5.8.1
  • First release: Mar 16, 2021
  • Latest release: Mar 17, 2021
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: J4cob (100%)

Code review

53 tests

User reviews

1 review

Install metrics

10+ active / 127 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
This plugin's installer ran successfully

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

An overview of server-side resources used by Quattuor Addons for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.1433.63 ▲13.70
Dashboard /wp-admin3.08 ▲0.0346.47 ▲1.95
Posts /wp-admin/edit.php3.13 ▲0.0340.72 ▲5.87
Add New Post /wp-admin/post-new.php5.45 ▲0.0286.72 ▼1,026.26
Media Library /wp-admin/upload.php3.03 ▲0.0230.49 ▼9.23

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Quattuor Addons for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,673 ▲9115.86 ▲0.359.13 ▲0.1545.81 ▼0.49
Dashboard /wp-admin2,951 ▲985.93 ▲0.11135.96 ▲5.77111.02 ▼0.74
Posts /wp-admin/edit.php2,729 ▲232.70 ▲0.0265.12 ▼0.1289.58 ▼0.70
Add New Post /wp-admin/post-new.php1,866 ▲38719.00 ▲2.16364.71 ▲4.23106.66 ▼4.99
Media Library /wp-admin/upload.php1,800 ▲285.02 ▲0.01150.21 ▼2.79110.55 ▼10.12

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
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 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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

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 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
Please take inspiration from this readme.txt

quattuor-addons-for-elementor/quattuor-addons.php 85% from 13 tests

The principal PHP file in "Quattuor Addons for Elementor" v. 0.1.1 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("quattuor-addons-for-elementor.php" instead of "quattuor-addons.php")
  • 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 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,006 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP5216289873
CSS1233127
JavaScript1006

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity4.40
▷ Minimum class complexity1.00
▷ Maximum class complexity10.00
Average method complexity1.44
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes120.00%
Methods39
▷ Static methods12.56%
▷ Public methods3076.92%
▷ Protected methods820.51%
▷ Private methods12.56%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 1 test

Image compression Passed 1 test

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin