Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/animate-wp-blocks/includes/admin-options-page.php+164
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.43ms] Passed 4 tests
Server-side resources used by Animate WP Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.55 ▼4.17 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.03 ▼22.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.92 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.98 ▼2.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.94 ▼0.09 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Animate WP Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.36 | 1.61 ▼0.22 | 39.74 ▼11.70 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▲0.94 | 103.38 ▲1.20 | 41.60 ▼2.85 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▲0.02 | 38.63 ▼0.00 | 33.96 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.15 ▲5.68 | 648.54 ▼57.64 | 59.77 ▲4.59 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▼0.04 | 94.90 ▼23.39 | 41.81 ▼2.22 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/animate-wp-blocks/includes/admin-options-page.php on line 164
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
1 plugin tags: block
animate-wp-blocks/animate-wp-blocks.php Passed 13 tests
The entry point to "Animate WP Blocks" version 2.0.2 is a PHP file that has certain tags in its header comment area
108 characters long description:
Add animation controls to each and every Gutenberg Block! Runs on Animate.css v4. Now with onScroll support!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected535 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 52 | 38 | 322 |
PHP | 4 | 30 | 30 | 210 |
CSS | 3 | 0 | 12 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 files were detected