Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.43ms] Passed 4 tests
This is a short check of server-side resources used by Animation Menus light
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.17 ▼0.59 |
Dashboard /wp-admin | 3.34 ▲0.00 | 49.10 ▼12.54 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 53.25 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.40 ▼8.10 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.13 ▼0.50 |
Add New /wp-admin/post-new.php?post_type=amh_gallery_slider | 3.39 | 50.07 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_amh_slider-category&post_type=amh_gallery_slider | 3.35 | 35.83 |
All Images /wp-admin/edit.php?post_type=amh_gallery_slider | 3.31 | 34.53 |
Gallery showcases /wp-admin/edit.php?post_type=amh_gallery_slider&page=responsive_gallery-amh-bar-submenu-page | 3.24 | 28.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Animation Menus light
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 14.35 ▼0.06 | 1.64 ▲0.03 | 40.11 ▼5.80 |
Dashboard /wp-admin | 2,236 ▲59 | 5.57 ▼0.08 | 93.23 ▼0.44 | 39.30 ▲0.26 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 1.95 ▼0.04 | 39.05 ▼0.53 | 36.53 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 20.94 ▼1.89 | 684.17 ▲14.29 | 54.02 ▼6.49 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.17 ▼0.01 | 112.61 ▲5.67 | 49.93 ▲4.49 |
Add New /wp-admin/post-new.php?post_type=amh_gallery_slider | 2,343 | 7.74 | 172.74 | 69.28 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_amh_slider-category&post_type=amh_gallery_slider | 1,295 | 2.12 | 27.88 | 30.71 |
All Images /wp-admin/edit.php?post_type=amh_gallery_slider | 1,119 | 1.98 | 29.51 | 31.22 |
Gallery showcases /wp-admin/edit.php?post_type=amh_gallery_slider&page=responsive_gallery-amh-bar-submenu-page | 834 | 2.14 | 24.22 | 29.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animation-menus-highlight/animation-menus-highlight.php:276
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animation-menus-highlight/amh_gallery_admin_settings_center.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/animation-menus-highlight/designs/template.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=amh_gallery_slider&page=responsive_gallery-amh-bar-submenu-page
- > Network (severe)
wp-content/plugins/animation-menus-highlight/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
animation-menus-highlight/animation-menus-highlight.php Passed 13 tests
The main PHP script in "Animation Menus light" version 1.0 is automatically included on every request by WordPress
45 characters long description:
A simple Responsive Animation Menus Highlight
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
No dangerous file extensions were detected430 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 24 | 246 |
CSS | 2 | 27 | 0 | 184 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow-right.png | 2.28KB | 1.94KB | ▼ 14.81% |
images/arrow-left.png | 2.29KB | 1.94KB | ▼ 15.17% |