Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.89MB] [CPU: ▼53.45ms] Passed 4 tests
Analyzing server-side resources used by Sequence animation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.89 ▼39.09 |
Dashboard /wp-admin | 2.11 ▼1.19 | 5.85 ▼47.06 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.14 ▼40.20 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 5.36 ▼87.46 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.05 ▼28.96 |
spfa_Welcome /wp-admin/index.php?page=spfa_my-welcome | 2.12 | 6.40 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_spfa_animation_table |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Sequence animation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲242 | 14.30 ▼0.06 | 16.62 ▲14.65 | 40.26 ▼3.37 |
Dashboard /wp-admin | 2,203 ▲12 | 5.85 ▲0.97 | 97.97 ▼0.94 | 39.99 ▲1.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.03 | 38.83 ▼5.14 | 36.49 ▼4.50 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.20 ▲4.90 | 684.27 ▲30.68 | 54.96 ▲5.93 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.02 | 91.93 ▼5.56 | 42.14 ▼1.72 |
spfa_Welcome /wp-admin/index.php?page=spfa_my-welcome | 751 | 2.05 | 23.81 | 25.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/index.php?page=spfa_my-welcome
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/sequence-animation/index.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (screenshot-1.jpg) image not found
sequence-animation/index.php 85% from 13 tests
The principal PHP file in "Sequence animation" v. 1.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 148 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("sequence-animation.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin11,314 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 820 | 620 | 5,143 |
JSON | 3 | 0 | 0 | 3,523 |
CoffeeScript | 4 | 198 | 34 | 1,121 |
CSS | 2 | 88 | 47 | 843 |
HTML | 1 | 39 | 11 | 394 |
PHP | 1 | 20 | 24 | 175 |
Markdown | 2 | 98 | 0 | 115 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.71MB with 0.39MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
LOGO.png | 711.27KB | 271.15KB | ▼ 61.88% |
cooltext333758638913341.png | 17.14KB | 8.94KB | ▼ 47.87% |