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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.50ms] Passed 4 tests
A check of server-side resources used by Ajax Marketing Slider Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.19 ▼0.42 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.59 ▼0.59 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 47.46 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.69 ▼13.66 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.74 ▲0.66 |
Add New /wp-admin/post-new.php?post_type=soasl_slider | 3.42 | 47.31 |
All Sliders /wp-admin/edit.php?post_type=soasl_slider | 3.39 | 38.34 |
Server storage [IO: ▲2.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 136 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ajax Marketing Slider Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,143 ▲397 | 17.09 ▲2.41 | 21.36 ▲19.52 | 51.22 ▲7.35 |
Dashboard /wp-admin | 2,402 ▲214 | 6.94 ▲1.06 | 119.15 ▲0.69 | 39.29 ▼6.20 |
Posts /wp-admin/edit.php | 2,327 ▲238 | 3.46 ▲1.41 | 49.94 ▲12.57 | 31.14 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,601 ▲87 | 23.45 ▲5.92 | 630.52 ▼2.19 | 35.29 ▼21.23 |
Media Library /wp-admin/upload.php | 1,457 ▲75 | 4.59 ▲0.40 | 82.14 ▼16.42 | 41.85 ▼0.84 |
Add New /wp-admin/post-new.php?post_type=soasl_slider | 4,524 | 4.86 | 129.04 | 105.91 |
All Sliders /wp-admin/edit.php?post_type=soasl_slider | 1,296 | 3.74 | 48.66 | 27.73 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/ajax-marketing-slider-lite/marketing-slider-lite.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ajax-marketing-slider-lite/themes/full_width/full_width_with_ads.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ajax-marketing-slider-lite/includes/full_width.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-marketing-slider-lite/admin/includes/post_types.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-marketing-slider-lite/admin/includes/post_types.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-marketing-slider-lite/admin/includes/product_metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-marketing-slider-lite/admin/includes/ads_metaboxes.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== ajax-marketing-slider-lite ===
)
ajax-marketing-slider-lite/marketing-slider-lite.php 92% from 13 tests
The main PHP file in "Ajax Marketing Slider Lite" ver. 0.0.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ajax-marketing-slider-lite.php" instead of "marketing-slider-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin17,488 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 1,975 | 614 | 8,760 |
CSS | 13 | 1,012 | 213 | 6,368 |
PHP | 10 | 1,865 | 187 | 2,324 |
SVG | 2 | 0 | 0 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 40 | 97.56% |
▷ Anonymous functions | 1 | 2.44% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
64 compressed PNG files occupy 0.54MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/slidenavs/next4.png | 1.02KB | 1.23KB | 0.00% |
themes/full_width/img/buy/24.png | 4.70KB | 2.91KB | ▼ 38.23% |
imgs/slidenavs/previous7.png | 0.49KB | 0.71KB | 0.00% |
themes/full_width/img/buy/15.png | 3.62KB | 3.24KB | ▼ 10.32% |
themes/full_width/img/c-jssor-slider.png | 2.01KB | 1.89KB | ▼ 6.07% |