Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.77ms] Passed 4 tests
Analyzing server-side resources used by AM LottiePlayer – Vector animations for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 36.00 ▼0.27 |
Dashboard /wp-admin | 3.47 ▲0.16 | 54.65 ▲10.79 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.56 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 87.84 ▼4.08 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 37.01 ▲1.31 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AM LottiePlayer – Vector animations for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲63 | 13.93 ▼0.36 | 2.24 ▲0.50 | 40.80 ▼9.19 |
Dashboard /wp-admin | 2,205 ▲25 | 5.30 ▼0.23 | 104.15 ▲7.34 | 39.70 ▼3.90 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.62 ▲0.62 | 45.15 ▲2.01 | 31.04 ▼7.11 |
Add New Post /wp-admin/post-new.php | 6,209 ▲4,673 | 19.61 ▼3.44 | 955.93 ▲267.02 | 38.17 ▼19.65 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 5.07 ▲0.87 | 112.83 ▲15.02 | 44.07 ▼1.90 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/am-lottieplayer/includes/flatsome/visibility.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
am-lottieplayer/am-lottieplayer.php 92% from 13 tests
The main PHP script in "AM LottiePlayer – Vector animations for WordPress" version 2.5.17 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 164 characters long)
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
Success! There were no dangerous files found in this plugin3,978 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 327 | 192 | 3,431 |
JSON | 3 | 0 | 0 | 449 |
SVG | 4 | 0 | 0 | 41 |
HTML | 1 | 0 | 0 | 24 |
CSS | 6 | 2 | 0 | 20 |
JavaScript | 11 | 0 | 20 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 15.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 3 | 5.36% |
▷ Public methods | 47 | 83.93% |
▷ Protected methods | 6 | 10.71% |
▷ Private methods | 3 | 5.36% |
Functions | 17 | |
▷ Named functions | 14 | 82.35% |
▷ Anonymous functions | 3 | 17.65% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin