Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.29ms] Passed 4 tests
Server-side resources used by Medical Addon for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.13 ▲3.26 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.37 ▼15.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.40 ▲3.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.85 ▼15.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.24 ▼1.11 |
Server storage [IO: ▲4.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 133 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Medical Addon for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,987 ▲241 | 13.98 ▼0.37 | 20.72 ▲19.21 | 46.27 ▲5.52 |
Dashboard /wp-admin | 2,209 ▲28 | 5.56 ▼0.16 | 80.79 ▼19.43 | 38.00 ▼0.73 |
Posts /wp-admin/edit.php | 2,117 ▲20 | 1.99 ▼0.04 | 34.27 ▲0.71 | 35.22 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.51 ▲0.26 | 656.54 ▼31.39 | 57.60 ▼3.68 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.20 ▲0.02 | 93.53 ▼9.11 | 41.23 ▼2.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/medical/namedical-ea-full-calendar.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/basic/nabasic-history.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/medical-addon-for-elementor/medical-addon-for-elementor.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/basic/nabasic-chart.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/medical/namedical-ea-appointments.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/medical/namedical-bookly-appointment.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\is_plugin_active() in wp-content/plugins/medical-addon-for-elementor/elementor/widgets/basic/nabasic-gallery.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
medical-addon-for-elementor/medical-addon-for-elementor.php 92% from 13 tests
The primary PHP file in "Medical Addon for Elementor" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 416 characters long)
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
Success! There were no dangerous files found in this plugin62,285 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 5,715 | 5,835 | 23,966 |
PHP | 40 | 1,096 | 1,178 | 21,621 |
CSS | 18 | 1,447 | 174 | 14,857 |
SVG | 10 | 8 | 0 | 1,839 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 32.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 228 | |
▷ Static methods | 8 | 3.51% |
▷ Public methods | 158 | 69.30% |
▷ Protected methods | 70 | 30.70% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 13 | 86.67% |
▷ Anonymous functions | 2 | 13.33% |
Constants | 12 | |
▷ Global constants | 10 | 83.33% |
▷ Class constants | 2 | 16.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/chrome.png | 12.53KB | 5.29KB | ▼ 57.79% |
assets/images/google.png | 11.04KB | 4.54KB | ▼ 58.87% |
assets/images/apple.png | 8.69KB | 4.99KB | ▼ 42.53% |