Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/zaki-post-slide-widget/postslide.php+22
Methods with the same name as their class will not be constructors in a future version of PHP; zakiPostSlideWidget has a deprecated constructor
Server metrics [RAM: ▼1.71MB] [CPU: ▼51.61ms] Passed 4 tests
A check of server-side resources used by Zaki Post Slide Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 8.98 ▼37.15 |
Dashboard /wp-admin | 2.29 ▼1.01 | 12.29 ▼36.83 |
Posts /wp-admin/edit.php | 2.29 ▼1.06 | 10.74 ▼40.91 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.59 | 9.53 ▼91.54 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 9.28 ▼24.68 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_zakipostslidewidget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Zaki Post Slide Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲135 | 14.01 ▼0.37 | 8.28 ▲6.43 | 43.55 ▼0.73 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.80 | 111.15 ▼4.29 | 41.91 ▼6.33 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.05 | 34.52 ▼2.49 | 34.39 ▲2.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.51 ▲0.49 | 674.21 ▲74.72 | 69.43 ▲10.70 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.25 ▼0.01 | 98.53 ▼4.36 | 42.54 ▼1.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in zakiPostSlideWidget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_zakipostslidewidget
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zaki-post-slide-widget/postslide.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: posts, news, scroller, slider, bxslider
zaki-post-slide-widget/postslide.php 85% from 13 tests
The main PHP script in "Zaki Post Slide Widget" version 1.3.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 232 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zaki-post-slide-widget.php" instead of "postslide.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin375 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 24 | 374 |
JavaScript | 1 | 0 | 9 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 61.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 13.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected