89% monadic-addons-for-elementor

Code Review | Monadic Addons For Elementor

WordPress plugin Monadic Addons For Elementor scored89%from 54 tests.

About plugin

  • Plugin page: monadic-addons-fo...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 5, 2022
  • Latest release: Aug 5, 2022
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: rawshan008 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

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

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

This is a short check of server-side resources used by Monadic Addons For Elementor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.66 ▼4.47
Dashboard /wp-admin3.31 ▼0.0350.10 ▼19.91
Posts /wp-admin/edit.php3.37 ▲0.0150.13 ▼4.58
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.95 ▼19.57
Media Library /wp-admin/upload.php3.24 ▲0.0135.03 ▼2.83

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Monadic Addons For Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.22 ▼0.161.67 ▼0.0341.42 ▼2.60
Dashboard /wp-admin2,215 ▲355.58 ▼0.0589.52 ▼2.8940.10 ▼3.25
Posts /wp-admin/edit.php2,117 ▲142.20 ▲0.1340.55 ▲4.7235.72 ▲1.39
Add New Post /wp-admin/post-new.php1,560 ▲523.59 ▲0.83669.24 ▲56.2358.18 ▲6.65
Media Library /wp-admin/upload.php1,414 ▲174.35 ▲0.09100.51 ▼2.2347.29 ▲3.35

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 83% 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: You can look at the official readme.txt

monadic-addons-for-elementor/monadic-addons.php 69% from 13 tests

This is the main PHP file of "Monadic Addons For Elementor" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 173 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("monadic-addons-for-elementor.php" instead of "monadic-addons.php")
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,133 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code
PHP143906071,767
CSS6365238
JavaScript93847127
Markdown1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.13
Average class complexity4.55
▷ Minimum class complexity1.00
▷ Maximum class complexity13.00
Average method complexity1.46
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes19.09%
Methods85
▷ Static methods33.53%
▷ Public methods6576.47%
▷ Protected methods1720.00%
▷ Private methods33.53%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants562.50%
▷ Class constants337.50%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/lib/images/next.png1.32KB1.58KB0.00%
assets/lib/images/close.png0.27KB0.29KB0.00%
assets/lib/images/prev.png1.33KB1.59KB0.00%