Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.91ms] Passed 4 tests
Analyzing server-side resources used by Blocks Animation: CSS Animations for Gutenberg Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.85 ▼1.31 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.38 ▼15.71 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 48.67 ▲3.22 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.42 ▼7.48 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.01 ▲0.87 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Blocks Animation: CSS Animations for Gutenberg Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.22 ▼0.13 | 1.79 ▲0.10 | 43.56 ▲1.69 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▲0.03 | 95.71 ▲3.62 | 43.99 ▲2.36 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.96 ▼0.06 | 40.88 ▲2.47 | 34.19 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.05 ▲0.29 | 687.73 ▲26.13 | 55.84 ▲0.60 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.04 | 98.76 ▲3.04 | 44.03 ▲2.47 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Everything seems fine, however this is by no means an exhaustive test
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)
No browser issues were found
Optimizations
Plugin configuration 96% 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
9 plugin tags: block animations, animation, animations, gutenberg, block editor...
blocks-animation/blocks-animation.php 92% from 13 tests
The principal PHP file in "Blocks Animation: CSS Animations for Gutenberg Blocks" v. 2.5.2 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path folder does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected4,704 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 58 | 0 | 0 | 4,513 |
PHP | 6 | 42 | 103 | 167 |
Markdown | 1 | 10 | 0 | 17 |
JavaScript | 4 | 0 | 0 | 4 |
CSS | 1 | 2 | 6 | 3 |
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.36 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
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
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/animation/images/typing-animation.d84cccd1.png | 58.81KB | 22.46KB | ▼ 61.82% |
build/animation/images/count-animation.1151d25d.png | 33.99KB | 9.04KB | ▼ 73.40% |