Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.47ms] Passed 4 tests
This is a short check of server-side resources used by Page Animations And Transitions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.24 ▼4.28 |
Dashboard /wp-admin | 3.35 ▲0.01 | 44.77 ▼18.65 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.56 ▲1.13 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.76 ▼17.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.14 ▼1.42 |
Server storage [IO: ▲6.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
wl_page_trans_options |
Browser metrics Passed 4 tests
Page Animations And Transitions: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲168 | 13.82 ▼0.52 | 8.79 ▲7.10 | 37.66 ▼6.98 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▼0.10 | 93.35 ▲0.72 | 39.69 ▼0.52 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.94 ▼0.02 | 36.09 ▲1.11 | 34.25 ▼3.14 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.72 ▼1.86 | 667.83 ▲40.38 | 58.02 ▼19.09 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.17 ▼0.02 | 96.10 ▼2.06 | 42.15 ▼4.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- wl_page_trans_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: page transition, page loading effect, animation plugin, animation, page animation...
page-animations-and-transitions/page-animations-and-transitions.php 92% from 13 tests
The main file in "Page Animations And Transitions" v. 2.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin29,597 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 3,283 | 81 | 17,240 |
SVG | 3 | 0 | 12 | 8,954 |
JavaScript | 4 | 11 | 32 | 2,271 |
PO File | 1 | 838 | 1,543 | 599 |
PHP | 2 | 58 | 28 | 533 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star_PNG1590.png | 3.57KB | 1.04KB | ▼ 70.78% |