89% 360-elementor-addons

Code Review | Abf Elementor Addons (Multiple Map pin)

WordPress plugin Abf Elementor Addons (Multiple Map pin) scored89%from 54 tests.

About plugin

  • Plugin page: 360-elementor-addons
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Jul 31, 2022
  • Latest release: Jul 31, 2022
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: khairuljf (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /177 total downloads

Benchmarks

Plugin footprint 83% 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.00MB] [CPU: ▼3.37ms] Passed 4 tests

An overview of server-side resources used by Abf Elementor Addons (Multiple Map pin)
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.83 ▼11.17
Dashboard /wp-admin3.31 ▲0.0144.27 ▼3.75
Posts /wp-admin/edit.php3.36 ▲0.0047.13 ▼0.01
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.27 ▲1.45
Media Library /wp-admin/upload.php3.23 ▲0.0035.90 ▲2.16

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Abf Elementor Addons (Multiple Map pin): an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9014.48 ▲0.191.92 ▲0.0240.26 ▼4.09
Dashboard /wp-admin2,206 ▲244.85 ▼0.94104.30 ▲3.8738.13 ▼3.02
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0039.51 ▲4.4835.31 ▼0.45
Add New Post /wp-admin/post-new.php1,520 ▼1323.24 ▼0.12659.35 ▲20.7551.53 ▼14.05
Media Library /wp-admin/upload.php1,385 ▼64.20 ▲0.0094.49 ▼2.9142.91 ▼1.21

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

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

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Contributors: Contributors not specified
The official readme.txt might help

360-elementor-addons/plugins.php 85% from 13 tests

The main PHP script in "Abf Elementor Addons (Multiple Map pin)" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("360-elementor-addons.php" instead of "plugins.php")
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,636 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript328471,039
PHP2131102551
CSS25045
SVG1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.06
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.19
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods16
▷ Static methods00.00%
▷ Public methods850.00%
▷ Protected methods850.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin