Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/hype-animations/includes/functions.php+16
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.19ms] Passed 4 tests
An overview of server-side resources used by Hype Animations
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.59 ▼9.11 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.71 ▼4.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.09 ▼4.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.20 ▼7.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.54 ▲2.75 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Hype Animations
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.00 | 1.56 ▼0.19 | 39.08 ▼7.54 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.05 | 87.19 ▼2.78 | 40.96 ▲1.29 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.07 | 37.51 ▼2.18 | 33.99 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.13 ▲4.98 | 595.12 ▼29.55 | 62.83 ▼21.44 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▲0.04 | 96.73 ▼5.26 | 42.48 ▼0.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/hype-animations/uninstall.php
- > /wp-content/plugins/hype-animations/includes/adminpanel.php
- > /wp-content/plugins/hype-animations/includes/variables.php
- > /wp-content/plugins/hype-animations/includes/shortcode.php
- > /wp-content/plugins/hype-animations/includes/tinymcetool.php
- > /wp-content/plugins/hype-animations/includes/init.php
- > /wp-content/plugins/hype-animations/includes/iframe.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/hype-animations/includes/functions.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hype-animations/hypeanimations.php:11
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: hype, animations
hype-animations/hypeanimations.php 92% from 13 tests
"Hype Animations" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("hype-animations.php" instead of "hypeanimations.php")
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 plugin4,142 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 113 | 60 | 1,760 |
CSS | 4 | 44 | 58 | 1,638 |
PHP | 9 | 22 | 100 | 632 |
PO File | 1 | 43 | 48 | 112 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 3 | |
▷ Named functions | 3 | 100.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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/eralion.png | 28.36KB | 14.11KB | ▼ 50.23% |