Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.21ms] Passed 4 tests
A check of server-side resources used by Aarambha Demo Sites
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.45 ▼2.10 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.80 ▲1.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.94 ▼5.31 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.03 ▼10.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.16 ▲5.42 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Aarambha Demo Sites
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲60 | 14.68 ▲0.43 | 1.94 ▲0.21 | 44.61 ▼1.55 |
Dashboard /wp-admin | 2,206 ▲26 | 5.54 ▼0.10 | 89.72 ▲0.35 | 41.63 ▼1.94 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 1.98 ▼0.02 | 39.95 ▼4.17 | 35.66 ▼12.65 |
Add New Post /wp-admin/post-new.php | 1,538 ▲8 | 23.24 ▼0.05 | 587.77 ▼59.40 | 53.38 ▲0.18 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.09 ▼0.09 | 98.08 ▲2.40 | 42.29 ▲1.94 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/aarambha-demo-sites/inc/views/popups/failed.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/complete.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/plugins-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/aarambha-demo-sites/inc/views/popups/information.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/import.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/importing.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/aarambha-demo-sites/inc/main/classes/customize/class-aarambha-ds-customize-importer-setting.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/popups/purchase-theme.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/aarambha-demo-sites/inc/views/body.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/popups/activate-theme.php:9
- > 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 93% from 29 tests
readme.txt 94% 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:
- Screenshots: Please add images for these screenshots: #1 (Theme Demos listing page.), #2 (Install and activate the required plugins.), #3 (Thus, Import the Demo with one click.)
aarambha-demo-sites/aarambha-demo-sites.php 92% from 13 tests
The main file in "Aarambha Demo Sites" v. 1.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("5.7" instead of "5.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin8,803 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,052 | 1,514 | 3,723 |
JavaScript | 3 | 556 | 1,388 | 3,623 |
CSS | 3 | 101 | 66 | 1,457 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 31.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 2 | 11.76% |
Methods | 156 | |
▷ Static methods | 17 | 10.90% |
▷ Public methods | 133 | 85.26% |
▷ Protected methods | 3 | 1.92% |
▷ Private methods | 20 | 12.82% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 25 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.23MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-256x256.png | 67.54KB | 24.32KB | ▼ 63.98% |
banner-772x250.png | 169.56KB | 67.26KB | ▼ 60.33% |