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
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼5.33ms] Passed 4 tests
This is a short check of server-side resources used by WP EIS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 46.20 ▲2.68 |
Dashboard /wp-admin | 3.69 ▲0.39 | 50.95 ▲0.96 |
Posts /wp-admin/edit.php | 3.80 ▲0.45 | 52.32 ▲5.80 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 105.68 ▼30.77 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 42.76 ▲8.96 |
ALL Slides /wp-admin/admin.php?page=wp-eis/all-slides | 3.58 | 38.75 |
Settings /wp-admin/admin.php?page=wp-eis | 3.55 | 38.32 |
Add Slideshow /wp-admin/admin.php?page=wp-eis/add-slide | 3.58 | 35.06 |
ALL Images /wp-admin/admin.php?page=wp-eis/all-images | 3.58 | 39.60 |
Add Images /wp-admin/admin.php?page=wp-eis/add-images | 3.59 | 38.58 |
About Plugin /wp-admin/admin.php?page=wp-eis/about | 3.58 | 46.48 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 44 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_eis_name |
wp_eis_items |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
wp_eis_version |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WP EIS: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.31 ▼1.27 | 3.99 ▲2.01 | 38.52 ▼5.09 |
Dashboard /wp-admin | 2,252 ▲67 | 6.03 ▲0.17 | 102.66 ▼17.44 | 73.17 ▲22.88 |
Posts /wp-admin/edit.php | 2,152 ▲63 | 2.27 ▲0.27 | 40.36 ▲3.34 | 35.97 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,706 ▲164 | 22.33 ▲4.21 | 631.77 ▼9.37 | 64.39 ▲8.48 |
Media Library /wp-admin/upload.php | 1,438 ▲53 | 4.25 ▲0.03 | 103.36 ▲0.70 | 67.82 ▲23.90 |
ALL Slides /wp-admin/admin.php?page=wp-eis/all-slides | 937 | 1.83 | 26.70 | 24.31 |
Settings /wp-admin/admin.php?page=wp-eis | 1,175 | 1.82 | 28.36 | 32.34 |
Add Slideshow /wp-admin/admin.php?page=wp-eis/add-slide | 1,119 | 1.82 | 26.71 | 26.11 |
ALL Images /wp-admin/admin.php?page=wp-eis/all-images | 931 | 1.81 | 26.32 | 26.04 |
Add Images /wp-admin/admin.php?page=wp-eis/add-images | 1,055 | 2.37 | 41.52 | 33.87 |
About Plugin /wp-admin/admin.php?page=wp-eis/about | 877 | 1.80 | 25.24 | 26.69 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wp-eis
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WP_EIS_Opt::wp_eis_setting_page() should not be called statically
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 take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_EIS_DB' not found in wp-content/plugins/wp-eis/inc/wp-eis-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/wp-eis/wp-eis.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-eis/wp-eis-shortcode.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: slideshow manager, slider, responsive slider, responsive, slideshow
wp-eis/wp-eis.php 92% from 13 tests
The main PHP file in "WP EIS" ver. 1.3.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,363 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 195 | 81 | 2,038 |
PO File | 2 | 344 | 566 | 700 |
JavaScript | 3 | 139 | 131 | 380 |
CSS | 3 | 14 | 20 | 245 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 95.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.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 | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.55MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 111.41KB | 41.07KB | ▼ 63.14% |
screenshot-1.png | 143.40KB | 51.30KB | ▼ 64.23% |
screenshot-4.png | 63.95KB | 25.33KB | ▼ 60.39% |
screenshot-5.png | 71.55KB | 26.97KB | ▼ 62.30% |
screenshot-3.png | 152.08KB | 55.98KB | ▼ 63.19% |