Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.93ms] Passed 4 tests
An overview of server-side resources used by aThemes Starter Sites
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 37.79 ▼8.28 |
Dashboard /wp-admin | 3.56 ▲0.25 | 50.99 ▼0.00 |
Posts /wp-admin/edit.php | 3.68 ▲0.31 | 53.61 ▲2.75 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 87.06 ▼10.18 |
Media Library /wp-admin/upload.php | 3.49 ▲0.25 | 37.51 ▲4.29 |
Starter Sites /wp-admin/themes.php?page=starter-sites | 3.60 | 32.94 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 7 new options
New WordPress options |
---|
atss_db_version |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by aThemes Starter Sites
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲77 | 14.24 ▼0.04 | 1.84 ▲0.06 | 39.66 ▼4.67 |
Dashboard /wp-admin | 2,216 ▲39 | 5.63 ▲0.00 | 98.11 ▲1.20 | 42.59 ▼3.06 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.00 ▼0.01 | 40.22 ▲2.83 | 36.73 ▼0.30 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.29 ▲0.27 | 659.22 ▲72.61 | 51.56 ▼0.04 |
Media Library /wp-admin/upload.php | 1,424 ▲30 | 4.21 ▲0.03 | 97.57 ▲1.49 | 40.35 ▼2.00 |
Starter Sites /wp-admin/themes.php?page=starter-sites | 1,014 | 2.32 | 34.08 | 27.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- atss_db_version
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/athemes-starter-sites/inc/class-notice.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/athemes-starter-sites/import/class-import.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/athemes-starter-sites/themes/sydney.php:521
- > PHP Fatal error
Uncaught Error: Class 'WPImporterLoggerCLI' not found in wp-content/plugins/athemes-starter-sites/import/wp-content-importer-v2/Logger.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/athemes-starter-sites/core/class-customizer-option.php:12
- > PHP Fatal error
Uncaught Error: Class 'WPImporterLogger' not found in wp-content/plugins/athemes-starter-sites/import/wp-content-importer-v2/WPImporterLoggerCLI.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/athemes-starter-sites/themes/sydney-pro.php:705
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/athemes-starter-sites/v2/themes/sydney.php:807
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/athemes-starter-sites/themes/airi.php:297
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/athemes-starter-sites/import/wp-content-importer-v2/WXRImporter.php:2
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: sites, athemes, elementor, import, demos
athemes-starter-sites/athemes-starter-sites.php Passed 13 tests
Analyzing the main PHP file in "aThemes Starter Sites" version 1.0.45
41 characters long description:
Starter Sites for Sydney, Botiga and Airi
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin14,601 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,976 | 2,947 | 9,491 |
CSS | 6 | 387 | 9 | 2,382 |
Sass | 2 | 250 | 11 | 1,349 |
JavaScript | 14 | 415 | 229 | 1,293 |
SVG | 6 | 0 | 0 | 86 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 45.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 296.00 |
Average method complexity | 5.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 2 | 8.33% |
Methods | 229 | |
▷ Static methods | 28 | 12.23% |
▷ Public methods | 149 | 65.07% |
▷ Protected methods | 70 | 30.57% |
▷ Private methods | 10 | 4.37% |
Functions | 33 | |
▷ Named functions | 31 | 93.94% |
▷ Anonymous functions | 2 | 6.06% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.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
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/images/gutenberg.png | 1.00KB | 0.59KB | ▼ 41.15% |
assets/images/elementor.png | 2.10KB | 1.97KB | ▼ 6.05% |