Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▲0.68ms] Passed 4 tests
An overview of server-side resources used by Animate It!
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 51.70 ▲13.65 |
Dashboard /wp-admin | 3.64 ▲0.34 | 51.46 ▼1.49 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 46.77 ▼2.87 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 95.31 ▲3.48 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 37.16 ▲3.58 |
Animate It! /wp-admin/options-general.php?page=animate-it/edsanimate.php | 3.53 | 33.06 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 13 new options
New WordPress options |
---|
eds_custom_css |
eds_enable_on_phone |
eds_animate_it_version |
eds_enable_on_tab |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
eds_hide_overflow_x |
widget_recent-posts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Animate It!
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲170 | 13.59 ▼0.78 | 7.20 ▲5.47 | 42.55 ▼5.34 |
Dashboard /wp-admin | 2,215 ▲30 | 4.80 ▼1.02 | 99.36 ▼4.51 | 41.02 ▲0.14 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▼0.10 | 38.18 ▼2.83 | 34.93 ▼4.24 |
Add New Post /wp-admin/post-new.php | 6,598 ▲5,056 | 29.17 ▲10.82 | 910.60 ▲298.50 | 58.19 ▲2.33 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.40 ▲0.17 | 103.00 ▲3.67 | 43.83 ▼2.06 |
Animate It! /wp-admin/options-general.php?page=animate-it/edsanimate.php | 960 | 2.18 | 30.24 | 33.93 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/animate-it/assets/helper/edsanimate-tinymce-popup.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: iteration, entry exit, animatecss, jquery, css3 animation...
animate-it/edsanimate.php 85% from 13 tests
The main PHP script in "Animate It!" version 3.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("animate-it.php" instead of "edsanimate.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected8,170 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 821 | 58 | 4,797 |
PHP | 7 | 404 | 915 | 1,957 |
PO File | 11 | 462 | 1,078 | 1,122 |
JavaScript | 7 | 65 | 11 | 283 |
JSON | 11 | 0 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 74.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 9 | 14.29% |
▷ Public methods | 60 | 95.24% |
▷ Protected methods | 2 | 3.17% |
▷ Private methods | 1 | 1.59% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/badge.png | 4.91KB | 2.63KB | ▼ 46.45% |
assets/images/edsanimate.png | 1.60KB | 0.70KB | ▼ 56.38% |
assets/images/corona-plugin-banner.png | 13.66KB | 12.93KB | ▼ 5.35% |