90% dynamic-animations-for-elementor

Code Review | Dynamic Animations for Elementor

WordPress plugin Dynamic Animations for Elementor scored90%from 54 tests.

About plugin

  • Plugin page: dynamic-animation...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9
  • WordPress version: 6.3.1
  • First release: Aug 3, 2018
  • Latest release: Aug 3, 2018
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: dynamicooo (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

2,000+ active /12,336 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.17MB] [CPU: ▼20.72ms] Passed 4 tests

An overview of server-side resources used by Dynamic Animations for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.53 ▼2.92
Dashboard /wp-admin3.20 ▼0.1131.20 ▼16.52
Posts /wp-admin/edit.php3.26 ▼0.0934.89 ▼27.29
Add New Post /wp-admin/post-new.php5.44 ▼0.4567.22 ▼33.30
Media Library /wp-admin/upload.php3.20 ▼0.0327.24 ▼5.77

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Dynamic Animations for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.82 ▲0.461.56 ▼0.3237.65 ▼5.58
Dashboard /wp-admin2,200 ▲124.88 ▼0.00103.00 ▼10.0541.63 ▼0.20
Posts /wp-admin/edit.php2,089 ▼32.02 ▲0.0038.17 ▼1.9134.27 ▼4.44
Add New Post /wp-admin/post-new.php1,519 ▼923.55 ▲0.30657.54 ▼11.7356.99 ▲5.60
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.0197.43 ▼0.1343.58 ▼1.86

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: widget, animations, elementor, dynamic, animate

dynamic-animations-for-elementor/dynamic-animations-for-elementor.php Passed 13 tests

The principal PHP file in "Dynamic Animations for Elementor" v. 1.0.0 is loaded by WordPress automatically on each request
27 characters long description:
Elementor plugin animations

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin857 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP7184422730
CSS12025127

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity11.60
▷ Minimum class complexity1.00
▷ Maximum class complexity38.00
Average method complexity2.18
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods41
▷ Static methods2048.78%
▷ Public methods3175.61%
▷ Protected methods819.51%
▷ Private methods24.88%
Functions5
▷ Named functions240.00%
▷ Anonymous functions360.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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