Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.49ms] Passed 4 tests
An overview of server-side resources used by Page slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.85 ▲4.66 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.66 ▼0.42 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.62 ▼6.24 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.12 ▼5.89 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.30 ▼1.41 |
Page slideshow /wp-admin/options-general.php?page=proseed-identifier | 3.25 | 36.12 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Page slideshow: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.11 | 1.87 ▲0.07 | 46.29 ▲0.98 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▲0.03 | 84.68 ▼3.17 | 43.63 ▼1.40 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▲0.01 | 39.14 ▼2.26 | 36.52 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.52 ▼0.16 | 645.53 ▲6.70 | 55.83 ▼6.70 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▲0.04 | 103.77 ▼1.67 | 41.47 ▼0.78 |
Page slideshow /wp-admin/options-general.php?page=proseed-identifier | 930 | 1.99 | 25.01 | 27.71 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_image_size() in wp-content/plugins/page-slideshow/PageSlideshow.php:14
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Screenshot of the main features of Page Slideshow. You may add images, apply text and arrange slides as desired.) image missing
page-slideshow/PageSlideshow.php 92% from 13 tests
The primary PHP file in "Page slideshow" version 0.4.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("page-slideshow.php" instead of "PageSlideshow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin605 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 26 | 278 |
PHP | 1 | 141 | 12 | 266 |
JavaScript | 3 | 14 | 4 | 38 |
SVG | 1 | 0 | 0 | 19 |
PO File | 1 | 1 | 2 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 11 | |
▷ Named functions | 11 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.49KB | 7.57KB | ▼ 43.92% |