Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼147.50ms] Passed 4 tests
A check of server-side resources used by Animate
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 45.70 ▲8.19 |
Dashboard /wp-admin | 3.09 ▲0.03 | 44.32 ▼9.97 |
Posts /wp-admin/edit.php | 3.20 ▲0.08 | 44.28 ▼15.03 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 94.66 ▼564.91 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 35.12 ▼0.09 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 111 new files
Database: no new tables, 6 new options
New WordPress options |
---|
animate_option_customCSS |
animate_option_offset |
animate_option_animateClass |
animate_option_live |
animate_option_boxClass |
animate_option_mobile |
Browser metrics Passed 4 tests
Checking browser requirements for Animate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,887 ▲250 | 16.35 ▲0.84 | 12.43 ▲4.69 | 51.16 ▲2.83 |
Dashboard /wp-admin | 3,052 ▲118 | 6.13 ▲0.19 | 143.46 ▼9.37 | 145.51 ▲26.63 |
Posts /wp-admin/edit.php | 2,814 ▲78 | 2.61 ▼0.07 | 70.88 ▲2.32 | 98.02 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,686 ▼5 | 21.67 ▲2.48 | 299.59 ▼92.65 | 126.35 ▲19.55 |
Media Library /wp-admin/upload.php | 1,840 ▲33 | 5.02 ▲0.02 | 131.42 ▼30.96 | 158.64 ▲27.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== animate ===
)
animate/animate.php 77% from 13 tests
This is the main PHP file of "Animate" version 0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
- Git Repository: An alternative Git repository was detected
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin5,305 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 79 | 732 | 72 | 3,341 |
CSS | 2 | 75 | 89 | 898 |
JavaScript | 7 | 122 | 42 | 462 |
PHP | 7 | 105 | 74 | 450 |
Markdown | 1 | 55 | 0 | 91 |
JSON | 3 | 0 | 0 | 55 |
Ruby | 1 | 5 | 13 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 16 | 55.17% |
▷ Public methods | 29 | 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 | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/round200x200.png | 15.15KB | 7.16KB | ▼ 52.76% |
images/icon-20x20.png | 0.50KB | 0.35KB | ▼ 29.53% |
images/stars.png | 1.13KB | 0.65KB | ▼ 42.24% |
images/paypal_donate_button217x50.png | 15.20KB | 5.70KB | ▼ 62.50% |