Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.33ms] Passed 4 tests
Analyzing server-side resources used by WP Animate Slideshow by Cybercraft Technologies
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.05 ▼4.08 |
Dashboard /wp-admin | 3.52 ▲0.21 | 52.17 ▲6.72 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 52.46 ▲2.39 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 92.54 ▼8.55 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.91 ▲0.93 |
Add New /wp-admin/post-new.php?post_type=wpas_slider | 3.44 | 46.89 |
All Slideshows /wp-admin/edit.php?post_type=wpas_slider | 3.45 | 40.66 |
All Slides /wp-admin/edit.php?post_type=wpas_slide | 3.45 | 39.32 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Animate Slideshow by Cybercraft Technologies
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,217 ▲482 | 15.68 ▲1.12 | 13.07 ▲11.00 | 46.84 ▼1.24 |
Dashboard /wp-admin | 2,379 ▲191 | 6.40 ▲1.52 | 130.61 ▲24.98 | 41.85 ▼1.00 |
Posts /wp-admin/edit.php | 2,280 ▲191 | 3.29 ▲1.32 | 54.57 ▲17.85 | 32.79 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 23.21 ▲5.59 | 569.41 ▼98.21 | 33.72 ▼20.75 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.23 ▼0.03 | 78.21 ▼21.42 | 41.85 ▼2.49 |
Add New /wp-admin/post-new.php?post_type=wpas_slider | 1,872 | 4.03 | 84.31 | 34.63 |
All Slideshows /wp-admin/edit.php?post_type=wpas_slider | 1,252 | 3.31 | 45.76 | 27.95 |
All Slides /wp-admin/edit.php?post_type=wpas_slide | 1,249 | 3.30 | 46.45 | 27.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- 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)
Good news, no errors were detected
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-animate-slideshow/inc/admin/templates/template-slide.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-animate-slideshow/wp-animate-slideshow.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-animate-slideshow/inc/admin/slider-meta.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-animate-slideshow/inc/admin/slide-meta.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-animate-slideshow/inc/slider.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-animate-slideshow/inc/shortcode.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== wp-animate-slideshow ===
) - Tags: You are using too many tags: 14 tag instead of maximum 10
wp-animate-slideshow/wp-animate-slideshow.php 85% from 13 tests
"WP Animate Slideshow by Cybercraft Technologies" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number did not match the one declared in readme.txt ("3.4" instead of "4.1")
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
Success! There were no dangerous files found in this plugin15,871 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 1,614 | 426 | 7,530 |
JavaScript | 3 | 1,313 | 3,538 | 6,562 |
XML | 7 | 6 | 0 | 900 |
PHP | 6 | 117 | 116 | 802 |
LESS | 1 | 1 | 0 | 52 |
SVG | 2 | 1 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 5 | 13.51% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin