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.12MB] [CPU: ▼0.65ms] Passed 4 tests
Server-side resources used by Starter Templates by Gradient Themes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.22 ▼2.42 |
Dashboard /wp-admin | 3.44 ▲0.09 | 50.04 ▼7.10 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.14 ▲4.66 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.93 ▲5.98 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.94 ▲2.27 |
Server storage [IO: ▲4.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
__gradient_starter_templates_do_redirect |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Starter Templates by Gradient Themes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲34 | 14.17 ▼0.54 | 1.74 ▼0.25 | 42.67 ▲0.56 |
Dashboard /wp-admin | 2,208 ▲31 | 5.63 ▲0.00 | 91.85 ▲2.01 | 41.53 ▼0.81 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▲0.06 | 42.12 ▲4.57 | 37.28 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.20 ▲0.12 | 607.30 ▼81.56 | 51.96 ▼17.56 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.17 ▼0.08 | 98.70 ▼6.83 | 42.54 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- __gradient_starter_templates_do_redirect
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gradient-starter-templates/gradient-starter-templates.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: "gradientthemes.com"
- Screenshots: Add an image for screenshot #1 (Gradient Sterter Templates)
gradient-starter-templates/gradient-starter-templates.php 92% from 13 tests
The main PHP script in "Starter Templates by Gradient Themes" version 1.2.1 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected701 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 226 | 510 | 603 |
CSS | 1 | 5 | 0 | 56 |
JavaScript | 1 | 5 | 5 | 23 |
JSON | 19 | 0 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 6 | 18.18% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.95MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/demo-data/common/brand-shop/screenshot.png | 213.31KB | 206.94KB | ▼ 2.99% |
includes/demo-data/common/hotel-and-travel/screenshot.png | 274.83KB | 274.41KB | 0.15% |
includes/demo-data/common/news-blog/screenshot.png | 165.47KB | 159.86KB | ▼ 3.39% |
includes/demo-data/common/business-agency/screenshot.png | 200.14KB | 195.76KB | ▼ 2.19% |
includes/demo-data/common/best-shop/screenshot.png | 120.31KB | 114.83KB | ▼ 4.56% |