Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼298.10ms] Passed 4 tests
A check of server-side resources used by Genesis Testimonial Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 54.99 ▲1.71 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.83 ▼0.49 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 40.81 ▲2.28 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.57 ▼1,193.41 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 23.70 ▼0.19 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Testimonial Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,906 ▲152 | 16.12 ▲0.42 | 8.60 ▲2.72 | 2.49 ▼0.30 |
Dashboard /wp-admin | 2,892 ▲31 | 6.15 ▼0.02 | 116.80 ▼20.67 | 156.28 ▲1.64 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.36 ▼0.00 | 64.32 ▲1.24 | 145.46 ▲8.86 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.57 ▲0.06 | 427.30 ▼5.93 | 169.19 ▲11.19 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.48 ▼0.03 | 144.38 ▲4.96 | 187.12 ▼3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wpstudio-testimonial-slider/inc/gts-rating.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wpstudio-testimonial-slider/inc/gts-company.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Testimonial slider default styling), #2 (Testimonial slider integrated in theme), #3 (Testimonial slider admin panel)
wpstudio-testimonial-slider/genesis-testimonials.php 92% from 13 tests
Analyzing the main PHP file in "Genesis Testimonial Slider" version 1.6
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpstudio-testimonial-slider.php" instead of "genesis-testimonials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,794 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 27 | 11 | 1,103 |
PHP | 9 | 196 | 249 | 576 |
Markdown | 1 | 46 | 0 | 86 |
CSS | 2 | 9 | 5 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/star.png | 2.62KB | 2.67KB | 0.00% |
assets/img/controls.png | 2.19KB | 0.95KB | ▼ 56.49% |