Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/aarambha-demo-sites/inc/main/class-aarambha-ds.php+166
require_once(wp-content/plugins/aarambha-demo-sites/inc/main/classes/importer/class-aarambha-ds-elementor-importer.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.02MB] [CPU: ▼299.20ms] Passed 4 tests
Analyzing 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.01 | 70.99 ▼4.20 |
Dashboard /wp-admin | 3.41 ▲0.00 | 52.00 ▲8.16 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 51.88 ▲3.29 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 116.33 ▼1,199.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 40.72 ▲3.63 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Aarambha Demo Sites
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,821 ▲64 | 15.96 ▲0.44 | 10.01 ▲0.88 | 4.73 ▲0.89 |
Dashboard /wp-admin | 2,914 ▲35 | 6.41 ▼0.02 | 195.89 ▼9.89 | 192.69 ▼29.09 |
Posts /wp-admin/edit.php | 2,686 ▲1 | 3.45 ▲0.01 | 109.16 ▲21.49 | 176.15 ▼7.26 |
Add New Post /wp-admin/post-new.php | 1,635 ▼5 | 16.98 ▼4.31 | 626.21 ▼74.09 | 202.28 ▼39.49 |
Media Library /wp-admin/upload.php | 1,692 ▼3 | 5.69 ▼0.03 | 192.53 ▲5.54 | 248.61 ▼6.88 |
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
Uninstaller ran successfully
Smoke tests 50% 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 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
Please take a closer look at the following
- 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
- 8× 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/importing.php:6
- > 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 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 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/complete.php:14
- > 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
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/aarambha-demo-sites/inc/views/import.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare 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
Analyzing the main PHP file in "Aarambha Demo Sites" version 1.1.4
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin8,288 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,155 | 1,702 | 3,633 |
JavaScript | 2 | 780 | 323 | 2,890 |
CSS | 2 | 348 | 66 | 1,765 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 44.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 283.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 2 | 18.18% |
Methods | 149 | |
▷ Static methods | 10 | 6.71% |
▷ Public methods | 96 | 64.43% |
▷ Protected methods | 34 | 22.82% |
▷ Private methods | 19 | 12.75% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 24 | 92.31% |
▷ Class constants | 2 | 7.69% |
▷ Public constants | 2 | 100.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.23MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 169.56KB | 67.26KB | ▼ 60.33% |
icon-256x256.png | 67.54KB | 24.32KB | ▼ 63.98% |