Benchmarks
Plugin footprint 65% 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: ▼1.64MB] [CPU: ▼182.75ms] Passed 4 tests
Analyzing server-side resources used by Arashtad Testimonials Slider Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.99 ▼0.73 | 8.80 ▼12.42 |
Dashboard /wp-admin | 2.01 ▼1.05 | 10.10 ▼34.04 |
Posts /wp-admin/edit.php | 2.01 ▼1.10 | 8.92 ▼34.33 |
Add New Post /wp-admin/post-new.php | 2.01 ▼3.43 | 10.37 ▼638.17 |
Media Library /wp-admin/upload.php | 2.01 ▼0.99 | 10.69 ▼24.44 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_artestimonials_widget |
Browser metrics Passed 4 tests
Arashtad Testimonials Slider Plugin: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,811 ▲215 | 16.49 ▲0.49 | 12.47 ▲1.55 | 44.35 ▼1.12 |
Dashboard /wp-admin | 2,973 ▲42 | 5.92 ▼0.13 | 136.10 ▼2.86 | 109.10 ▼6.79 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 69.50 ▼2.59 | 94.71 ▲4.02 |
Add New Post /wp-admin/post-new.php | 1,682 ▲184 | 18.85 ▲0.03 | 370.01 ▼12.61 | 113.09 ▲8.83 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▼0.01 | 147.36 ▲1.26 | 119.01 ▲5.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/arashtad-testimonials-slider/arashtad-testimonials-slider.php+57
Undefined variable: text_domain
- Zombie WordPress options detected upon uninstall: 1 option
- widget_artestimonials_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/arashtad-testimonials-slider/arashtad-testimonials-slider.php
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
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:
- Tags: There are too many tags (13 tag instead of maximum 10)
arashtad-testimonials-slider/arashtad-testimonials-slider.php 92% from 13 tests
The principal PHP file in "Arashtad Testimonials Slider Plugin" v. 1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 203 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,532 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 233 | 44 | 1,640 |
PO File | 2 | 311 | 460 | 613 |
CSS | 2 | 8 | 19 | 223 |
JavaScript | 1 | 11 | 21 | 55 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 212)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 425.00 |
▷ Minimum class complexity | 425.00 |
▷ Maximum class complexity | 425.00 |
Average method complexity | 107.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 212.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin