Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.92ms] Passed 4 tests
Server-side resources used by Simple Image Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.20 ▼3.31 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.61 ▼15.40 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.19 ▲1.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.69 ▼6.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.13 ▲2.25 |
Add New Slide /wp-admin/post-new.php?post_type=slider | 3.38 | 77.53 |
Simple Slider /wp-admin/edit.php?post_type=slider | 3.31 | 38.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Image Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.42 ▼0.97 | 7.94 ▲6.38 | 39.84 ▼0.25 |
Dashboard /wp-admin | 2,225 ▲45 | 5.63 ▲0.05 | 94.73 ▲7.58 | 42.38 ▲1.30 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.94 ▼0.07 | 40.38 ▲2.85 | 35.17 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.59 ▲0.47 | 702.62 ▲93.13 | 85.01 ▲38.96 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.22 ▲0.03 | 112.10 ▲5.18 | 48.17 ▲0.11 |
Add New Slide /wp-admin/post-new.php?post_type=slider | 2,175 | 7.57 | 166.91 | 59.76 |
Simple Slider /wp-admin/edit.php?post_type=slider | 1,108 | 1.97 | 29.85 | 27.99 |
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
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-javascript-post-slider/simple_slider.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: Screenshot #1 (How to add New slide using post type as slider) image required
- Screenshots: Please describe screenshot #7 in easy-javascript-post-slider/assets to your readme.txt
easy-javascript-post-slider/simple_slider.php 92% from 13 tests
The main file in "Simple Image Slider" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-javascript-post-slider.php" instead of "simple_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected142 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 10 | 106 |
CSS | 1 | 4 | 9 | 28 |
JavaScript | 2 | 0 | 6 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pagination.png | 1.36KB | 0.58KB | ▼ 57.53% |