Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.08ms] Passed 4 tests
This is a short check of server-side resources used by Animentor – Lottie & Bodymovin for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.50 ▼1.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.62 ▲0.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.05 ▲0.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.77 ▲0.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.80 ▲0.42 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Animentor – Lottie & Bodymovin for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 14.73 ▲0.49 | 1.84 ▲0.01 | 45.11 ▲2.60 |
Dashboard /wp-admin | 2,227 ▲36 | 4.85 ▲0.02 | 113.50 ▼7.78 | 43.32 ▼4.50 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.02 ▲0.05 | 36.48 ▲1.72 | 31.01 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.34 ▲0.24 | 648.74 ▼25.18 | 56.41 ▲4.80 |
Media Library /wp-admin/upload.php | 1,406 ▲24 | 4.22 ▲0.06 | 95.30 ▼12.30 | 42.92 ▼5.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: animations, animation, lottie, bodymovin, elementor
animentor-lottie-bodymovin-elementor/animentor-lottie-bodymovin-elementor.php Passed 13 tests
"Animentor – Lottie & Bodymovin for Elementor" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
An Elementor extension that adds a widget for Lottie animations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected846 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 109 | 190 | 586 |
JavaScript | 2 | 19 | 32 | 116 |
Markdown | 1 | 62 | 0 | 116 |
SVG | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 19 | 70.37% |
▷ Protected methods | 2 | 7.41% |
▷ Private methods | 6 | 22.22% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected