Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.62ms] Passed 4 tests
An overview of server-side resources used by Devgirl Reviews Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.32 ▼3.73 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.37 ▼3.78 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.61 ▲0.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.00 ▼5.59 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.39 ▼1.38 |
Devgirl Reviews Slider /wp-admin/options-general.php?page=devgirl-reviews-slider | 3.23 | 29.74 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Devgirl Reviews Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.40 ▼0.91 | 1.61 ▼0.19 | 42.64 ▼7.13 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▲0.95 | 106.51 ▼4.35 | 40.74 ▼2.52 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.00 | 35.42 ▼0.17 | 34.89 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.50 ▼4.57 | 647.70 ▼18.16 | 69.58 ▲15.04 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.20 ▼0.02 | 101.27 ▼3.89 | 42.75 ▲0.51 |
Devgirl Reviews Slider /wp-admin/options-general.php?page=devgirl-reviews-slider | 858 | 2.05 | 25.39 | 29.47 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× 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/devgirl-reviews-slider/admin-menu.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/devgirl-reviews-slider/admin-menu.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: carousel, testimonials, slider, reviews
devgirl-reviews-slider/devgirl-reviews-slider.php Passed 13 tests
This is the main PHP file of "Devgirl Reviews Slider" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
39 characters long description:
A slider to show your customer reviews.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected418 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 220 | 24 | 232 |
CSS | 2 | 55 | 2 | 186 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin