Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.29ms] Passed 4 tests
A check of server-side resources used by ACTUS Animated Words Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.00 ▲0.97 |
Dashboard /wp-admin | 3.43 ▲0.13 | 43.93 ▼7.12 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 42.03 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.57 ▼0.32 | 73.60 ▼21.06 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 34.50 ▲4.34 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 3.32 | 31.04 |
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider | 3.32 | 29.83 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
ACTUS_AAWS_VERSION |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for ACTUS Animated Words Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.17 ▼0.20 | 1.74 ▲0.07 | 42.78 ▼5.85 |
Dashboard /wp-admin | 2,220 ▲43 | 5.65 ▲0.02 | 80.74 ▼8.52 | 70.70 ▲32.35 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.99 ▼0.01 | 35.96 ▼1.50 | 33.30 ▼2.32 |
Add New Post /wp-admin/post-new.php | 6,779 ▲5,253 | 26.40 ▲3.29 | 966.73 ▲341.06 | 83.93 ▲34.72 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.20 ▼0.01 | 94.19 ▼0.86 | 70.07 ▲27.60 |
ACTUS /wp-admin/admin.php?page=actus-plugins | 874 | 2.14 | 25.11 | 40.70 |
ACTUS Animated Words Slider /wp-admin/admin.php?page=actus-animated-words-slider | 918 | 2.14 | 23.21 | 25.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- 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
The main PHP file in "ACTUS Animated Words Slider" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- 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 programming languages used in this plugin; dangerous file extensions are not allowed
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
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
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/actus_black_20.png | 15.39KB | 0.73KB | ▼ 95.24% |
img/caret-down.png | 2.25KB | 0.54KB | ▼ 75.98% |
img/banner-amtn.png | 80.17KB | 44.90KB | ▼ 44.00% |
img/banner-xfields.png | 137.08KB | 61.12KB | ▼ 55.41% |
img/banner-anit.png | 151.54KB | 58.33KB | ▼ 61.51% |