Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.99ms] Passed 4 tests
An overview of server-side resources used by Tumult Hype Animations
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 41.38 ▼3.11 |
Dashboard /wp-admin | 3.44 ▲0.10 | 47.35 ▼15.97 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 50.85 ▲3.21 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 96.93 ▼4.33 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.12 ▼0.56 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_hypeanimations |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
hypeanimations_db_version |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tumult Hype Animations
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲132 | 13.98 ▼0.40 | 1.67 ▼0.16 | 30.26 ▼11.92 |
Dashboard /wp-admin | 2,281 ▲96 | 5.81 ▲0.90 | 133.44 ▲24.72 | 51.13 ▲4.22 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 2.64 ▲0.59 | 54.11 ▲17.77 | 46.60 ▲13.36 |
Add New Post /wp-admin/post-new.php | 1,585 ▲71 | 23.82 ▲6.17 | 673.60 ▲6.98 | 50.26 ▼2.75 |
Media Library /wp-admin/upload.php | 1,466 ▲81 | 4.98 ▲0.79 | 109.47 ▲13.50 | 51.24 ▲9.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/tumult-hype-animations/uninstall.php+29
rmdir(wp-content/uploads/hypeanimations//tmp): Directory not empty
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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 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
Almost there! Just fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tumult-hype-animations/includes/shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tumult-hype-animations/includes/init.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tumult-hype-animations/includes/iframe.php:2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tumult-hype-animations/includes/variables.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tumult-hype-animations/hypeanimations.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tumult-hype-animations/includes/adminpanel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tumult-hype-animations/includes/functions.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
2 plugin tags: hype, animation
tumult-hype-animations/hypeanimations.php 85% from 13 tests
The main file in "Tumult Hype Animations" v. 1.9.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tumult-hype-animations.php" instead of "hypeanimations.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,046 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 586 | 678 | 1,612 |
CSS | 4 | 105 | 57 | 1,528 |
PHP | 8 | 56 | 58 | 734 |
JavaScript | 2 | 5 | 36 | 168 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 18 | |
▷ Named functions | 18 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/sort_asc.png | 0.17KB | 0.24KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.09KB | 0.10KB | 0.00% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 3.74KB | 0.08KB | ▼ 97.73% |