Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼7.05ms] Passed 4 tests
This is a short check of server-side resources used by Wp Slide Categorywise
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 37.27 ▼3.20 |
Dashboard /wp-admin | 3.53 ▲0.22 | 47.83 ▼3.06 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.57 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 81.67 ▼22.49 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.73 ▲3.14 |
Wp Slide Categorywise /wp-admin/admin.php?page=wp_slide_categorywise | 3.52 | 33.38 |
Add Slider /wp-admin/admin.php?page=add_slider | 3.47 | 35.63 |
Manage Slider /wp-admin/admin.php?page=wpcs_manage_slider | 3.42 | 34.32 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_category_slider |
wp_cs_settings |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
cs_db_version |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Wp Slide Categorywise: 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,950 ▲179 | 14.18 ▼0.11 | 5.27 ▲3.40 | 39.56 ▼2.24 |
Dashboard /wp-admin | 2,245 ▲60 | 4.89 ▼1.03 | 107.18 ▲3.61 | 39.29 ▼4.41 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.05 ▲0.02 | 39.35 ▼1.64 | 33.72 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 23.25 ▲0.14 | 589.76 ▼19.63 | 52.98 ▲7.49 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.29 ▲0.13 | 95.55 ▼5.83 | 40.26 ▼1.95 |
Wp Slide Categorywise /wp-admin/admin.php?page=wp_slide_categorywise | 1,251 | 1.76 | 24.88 | 40.57 |
Add Slider /wp-admin/admin.php?page=add_slider | 966 | 1.79 | 24.05 | 34.14 |
Manage Slider /wp-admin/admin.php?page=wpcs_manage_slider | 844 | 1.89 | 24.69 | 24.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- cs_db_version
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wp-slide-categorywise/add_slider.php:19
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-slide-categorywise/class.tabular.php on line 9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-slide-categorywise/add_slider.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-slide-categorywise/class.tabular.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-slide-categorywise/wp-slide-categorywise.php:11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-slide-categorywise/class.tabular.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Add slides form.), #2 (Manage slides listing category wise.), #3 (Slider settings form display in admin panel.), #4 (Frontend slider display categorywise.), #5 (Responsive slider Image 1.), #6 (Responsive slider Image 2.)
wp-slide-categorywise/wp-slide-categorywise.php 92% from 13 tests
The principal PHP file in "Wp Slide Categorywise" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 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
Everything looks great! No dangerous files found in this plugin6,884 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 991 | 33 | 4,681 |
PHP | 6 | 251 | 352 | 1,577 |
JavaScript | 4 | 61 | 19 | 626 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 1 | 3.85% |
Functions | 17 | |
▷ Named functions | 17 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 1.38MB with 0.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 289.89KB | 73.55KB | ▼ 74.63% |
screenshot-4.png | 716.33KB | 158.68KB | ▼ 77.85% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
screenshot-1.png | 177.45KB | 51.96KB | ▼ 70.72% |
screenshot-3.png | 106.14KB | 51.75KB | ▼ 51.24% |