Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+118
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: ▼1.90MB] [CPU: ▼58.87ms] Passed 4 tests
Server-side resources used by ACTUS Animated Tags
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.40 | 7.66 ▼41.88 |
Dashboard /wp-admin | 2.16 ▼1.19 | 6.51 ▼55.75 |
Posts /wp-admin/edit.php | 2.16 ▼1.24 | 7.76 ▼43.47 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.77 | 6.51 ▼94.36 |
Media Library /wp-admin/upload.php | 2.16 ▼1.11 | 5.68 ▼30.20 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 2.16 | 7.53 |
Server storage [IO: ▲3.89MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
ACTUS_ANIT_height |
db_upgraded |
widget_actus_anit |
ACTUS_ANIT_max_font_size |
widget_theysaidso_widget |
widget_recent-posts |
ACTUS_ANIT_density |
ACTUS_ANIT_min_font_size |
ACTUS_ANIT_background |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ACTUS Animated Tags
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 14.46 ▲0.17 | 2.19 ▲0.27 | 65.73 ▲20.16 |
Dashboard /wp-admin | 2,361 ▲184 | 6.08 ▲0.41 | 106.95 ▲10.28 | 70.20 ▲29.23 |
Posts /wp-admin/edit.php | 2,289 ▲189 | 3.51 ▲1.57 | 52.10 ▲12.40 | 83.65 ▲44.77 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.44 ▲0.38 | 586.30 ▼112.02 | 35.72 ▼18.95 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.07 ▼0.03 | 80.98 ▼36.97 | 77.34 ▲28.00 |
ACTUS Animated Tags /wp-admin/actus-animated-tags.php | 26 | 0.42 | 0.15 | 14.60 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 1,043 | 2.98 | 39.38 | 80.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/actus-animated-tags/includes/actus-anit-main.php+118
Methods with the same name as their class will not be constructors in a future version of PHP; actus_anit has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_actus_anit
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just 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+118
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+161
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=actus-plugins
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in actus_anit is deprecated since version 4.3.0! Use __construct() instead.
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
Please take a closer look at the following
- 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 a shallow check for browser errors
Please fix the following browser 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: animation, actus, jquery, ajax, tags...
actus-animated-tags/actus-animated-tags.php 92% from 13 tests
The main file in "ACTUS Animated Tags" v. 2.0.1 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:
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
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
Everything looks great! No dangerous files found in this plugin1,736 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 109 | 26 | 791 |
PHP | 7 | 168 | 166 | 526 |
JavaScript | 2 | 170 | 171 | 405 |
Markdown | 1 | 6 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 16 | |
▷ Named functions | 16 | 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
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.54MB with 0.40MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/actus.png | 21.26KB | 4.82KB | ▼ 77.33% |
img/gear.png | 17.08KB | 2.66KB | ▼ 84.41% |
img/actus_2.png | 6.77KB | 4.82KB | ▼ 28.83% |
img/help.png | 16.13KB | 1.62KB | ▼ 89.98% |
img/info.png | 15.77KB | 1.16KB | ▼ 92.64% |