Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.10MB] [CPU: ▼293.02ms] Passed 4 tests
An overview of server-side resources used by ACTUS Animated Words Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 53.09 ▲6.92 |
Dashboard /wp-admin | 3.54 ▲0.14 | 33.48 ▲0.27 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 39.12 ▲3.34 |
Add New Post /wp-admin/post-new.php | 6.18 ▼0.79 | 79.68 ▼1,177.88 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 26.02 ▲2.20 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 3.39 | 22.21 |
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider | 3.39 | 23.81 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 43 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ACTUS_AAWS_VERSION |
Browser metrics Passed 4 tests
A check of browser resources used by ACTUS Animated Words Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲70 | 15.82 ▲0.10 | 6.23 ▲0.43 | 2.82 ▲0.04 |
Dashboard /wp-admin | 2,921 ▲63 | 6.22 ▲0.03 | 116.35 ▼17.17 | 176.99 ▲19.73 |
Posts /wp-admin/edit.php | 2,721 ▲27 | 3.10 ▼0.14 | 59.93 ▼5.57 | 138.60 ▼4.77 |
Add New Post /wp-admin/post-new.php | 2,303 ▲642 | 22.62 ▲6.64 | 465.01 ▲45.98 | 206.31 ▲49.52 |
Media Library /wp-admin/upload.php | 1,724 ▲26 | 5.52 ▲0.03 | 124.01 ▼14.84 | 202.80 ▲18.69 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 1,085 | 2.40 | 53.09 | 134.83 |
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider | 1,257 | 2.50 | 53.92 | 104.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/actus-animated-words-slider/includes/actus-plugins.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/actus-animated-words-slider/includes/actus-aaws-edit.php:520
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
actus-animated-words-slider/actus-animated-words-slider.php 92% from 13 tests
This is the main PHP file of "ACTUS Animated Words Slider" version 1.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin2,628 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 279 | 276 | 1,034 |
CSS | 3 | 169 | 45 | 888 |
JavaScript | 4 | 235 | 284 | 706 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 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
20 PNG files occupy 0.54MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/checkbox2.png | 2.49KB | 1.66KB | ▼ 33.20% |
img/actus_black_20.png | 15.39KB | 0.73KB | ▼ 95.24% |
img/banner-anit.png | 151.54KB | 58.33KB | ▼ 61.51% |
img/banner-xfields.png | 137.08KB | 61.12KB | ▼ 55.41% |
img/title.png | 21.30KB | 1.81KB | ▼ 91.48% |