Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.61MB] [CPU: ▲18.51ms] 75% from 4 tests
Analyzing server-side resources used by Starter Templates — Elementor, WordPress & Beaver Builder Templates
Please have a look at the following items
- RAM: Try to keep total memory usage under 10MB (currently 25.13MB on /wp-admin/themes.php?page=starter-templates)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.05 ▲2.58 | 57.95 ▲16.20 |
Dashboard /wp-admin | 5.93 ▲2.58 | 74.80 ▲15.34 |
Posts /wp-admin/edit.php | 6.02 ▲2.66 | 67.18 ▲23.31 |
Add New Post /wp-admin/post-new.php | 12.22 ▲6.33 | 530.39 ▲436.39 |
Media Library /wp-admin/upload.php | 5.85 ▲2.62 | 51.16 ▲19.18 |
Starter Templates /wp-admin/themes.php?page=starter-templates | 25.13 | 191.81 |
Server storage [IO: ▲7.76MB] [DB: ▲5.47MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 336 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Starter Templates — Elementor, WordPress & Beaver Builder Templates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲244 | 14.35 ▼0.42 | 1.84 ▲0.03 | 28.21 ▼16.73 |
Dashboard /wp-admin | 2,381 ▲206 | 5.57 ▼0.16 | 95.22 ▼18.92 | 102.85 ▲57.58 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 2.28 ▲0.27 | 38.61 ▲0.39 | 35.24 ▲0.38 |
Add New Post /wp-admin/post-new.php | 2,753 ▲1,227 | 20.47 ▼0.61 | 743.11 ▲71.21 | 67.50 ▲19.08 |
Media Library /wp-admin/upload.php | 1,442 ▲48 | 4.34 ▲0.15 | 107.06 ▲4.75 | 42.50 ▼0.46 |
Starter Templates /wp-admin/themes.php?page=starter-templates | 1,173 | 12.59 | 224.06 | 47.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲5.47MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following
- 31× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ASTRA_SITES_DIRinc/classes/batch-import/class-astra-sites-batch-site-import-batch.php' (include_path='.:/usr/share/php') in wp-content/plugins/astra-sites/inc/classes/batch-import/class-astra-sites-batch-site-import.php on line 68
- > PHP Warning
Use of undefined constant ASTRA_SITES_DIR - assumed 'ASTRA_SITES_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/astra-sites/inc/classes/compatibility/class-astra-sites-compatibility.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/astra-sites/inc/importers/class-astra-sites-helper.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/astra-sites/inc/classes/compatibility/astra-pro/class-astra-sites-compatibility-astra-pro.php:48
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/astra-sites/inc/classes/batch-import/class-astra-sites-batch-import.php on line 48
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/astra-sites/inc/importers/batch-processing/class-astra-sites-batch-processing.php on line 124
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/file.php' (include_path='.:/usr/share/php') in wp-content/plugins/astra-sites/inc/lib/gutenberg-templates/classes/class-ast-block-templates-image-importer.php on line 65
- > PHP Fatal error
require_once(): Failed opening required 'ASTRA_SITES_DIRinc/classes/compatibility/astra-pro/class-astra-sites-compatibility-astra-pro.php' (include_path='.:/usr/share/php') in wp-content/plugins/astra-sites/inc/classes/compatibility/class-astra-sites-compatibility.php on line 48
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/astra-sites/inc/classes/batch-import/class-astra-sites-batch-import.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/astra-sites/inc/lib/gutenberg-templates/ast-block-templates.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: block editor, templates, gutenberg, elementor, beaver builder...
astra-sites/astra-sites.php 92% from 13 tests
The main file in "Starter Templates — Elementor, WordPress & Beaver Builder Templates" v. 3.4.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 263 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin38,021 lines of code in 304 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 73 | 3,584 | 7,171 | 12,517 |
JavaScript | 96 | 1,533 | 782 | 12,207 |
CSS | 28 | 1,480 | 120 | 10,850 |
Sass | 21 | 220 | 9 | 2,013 |
SVG | 23 | 2 | 7 | 328 |
JSON | 61 | 1 | 0 | 65 |
Markdown | 1 | 9 | 0 | 40 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 32.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 303.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 635 | |
▷ Static methods | 105 | 16.54% |
▷ Public methods | 534 | 84.09% |
▷ Protected methods | 59 | 9.29% |
▷ Private methods | 42 | 6.61% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 21 | |
▷ Global constants | 19 | 90.48% |
▷ Class constants | 2 | 9.52% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.96MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/assets/images/welcome.png | 176.71KB | 50.46KB | ▼ 71.44% |
inc/assets/images/pixabay-logo.png | 7.03KB | 7.12KB | 0.00% |
inc/lib/gutenberg-templates/dist/placeholder.png | 50.74KB | 25.55KB | ▼ 49.64% |
inc/assets/images/templates-showcase.png | 545.80KB | 142.45KB | ▼ 73.90% |
inc/assets/images/placeholder.png | 50.74KB | 25.55KB | ▼ 49.64% |