Benchmarks
Plugin footprint 40% 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 had errors
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+81
Methods with the same name as their class will not be constructors in a future version of PHP; actus_anit has a deprecated constructor
Server metrics [RAM: ▼2.39MB] [CPU: ▼341.34ms] Passed 4 tests
A check of server-side resources used by ACTUS Animated Tags
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.90 ▼1.22 | 4.39 ▼22.71 |
Dashboard /wp-admin | 1.94 ▼1.47 | 3.96 ▼28.54 |
Posts /wp-admin/edit.php | 1.94 ▼1.70 | 4.94 ▼30.70 |
Add New Post /wp-admin/post-new.php | 1.94 ▼5.03 | 4.28 ▼1,278.95 |
Media Library /wp-admin/upload.php | 1.94 ▼1.36 | 4.62 ▼27.15 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 1.94 | 4.77 |
Server storage [IO: ▲4.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ACTUS_ANIT_height |
ACTUS_ANIT_VERSION |
widget_actus_anit |
ACTUS_ANIT_max_font_size |
ACTUS_ANIT_background |
ACTUS_ANIT_density |
ACTUS_ANIT_min_font_size |
Browser metrics Passed 4 tests
An overview of browser requirements for ACTUS Animated Tags
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,016 ▲272 | 17.26 ▲1.47 | 6.18 ▼0.02 | 2.28 ▼0.20 |
Dashboard /wp-admin | 3,105 ▲244 | 8.16 ▲1.94 | 139.37 ▲2.10 | 182.97 ▲17.81 |
Posts /wp-admin/edit.php | 2,953 ▲259 | 5.13 ▲1.89 | 77.91 ▲13.75 | 160.35 ▲13.42 |
Add New Post /wp-admin/post-new.php | 1,747 ▲96 | 17.16 ▼2.10 | 390.20 ▼48.01 | 199.27 ▲40.13 |
Media Library /wp-admin/upload.php | 1,731 ▲33 | 5.64 ▲0.15 | 109.58 ▼42.95 | 201.34 ▲5.48 |
ACTUS Animated Tags /wp-admin/actus-animated-tags.php | 26 | 0.94 | 0.03 | 20.31 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 1,434 | 4.15 | 74.05 | 187.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+81
Methods with the same name as their class will not be constructors in a future version of PHP; actus_anit has a deprecated constructor
- Zombie WordPress options were found after uninstall: 1 option
- widget_actus_anit
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=actus-plugins
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+81
Methods with the same name as their class will not be constructors in a future version of PHP; actus_anit has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=actus-plugins
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+124
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=actus-plugins
- > User deprecated in wp-includes/functions.php+5409
The called constructor method for WP_Widget in actus_anit is deprecated since version 4.3.0! Use __construct() instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/actus-animated-tags/includes/actus-plugins.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/actus-animated-tags.php
- > Network (severe)
wp-admin/actus-animated-tags.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: tag cloud, tags, jquery, ajax, animation...
actus-animated-tags/actus-animated-tags.php 92% from 13 tests
The principal PHP file in "ACTUS Animated Tags" v. 1.2.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,195 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 89 | 26 | 576 |
PHP | 7 | 126 | 143 | 391 |
JavaScript | 2 | 82 | 127 | 214 |
Markdown | 1 | 6 | 0 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.80MB with 0.55MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 25.54KB | 9.00KB | ▼ 64.78% |
img/actus_white_20.png | 15.42KB | 0.73KB | ▼ 95.25% |
img/banner-amtn.png | 80.17KB | 44.90KB | ▼ 44.00% |
img/banner-aaws.png | 20.71KB | 9.84KB | ▼ 52.49% |
img/actus_white_64.png | 16.75KB | 2.07KB | ▼ 87.67% |