Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.25ms] Passed 4 tests
Server-side resources used by Ashe Extra
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.40 ▲1.18 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.43 ▼9.24 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.10 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.52 ▼5.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.06 ▼2.30 |
Ashe Extra Sub /wp-admin/admin.php?page=ashe-extra-sub | 3.22 | 31.32 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ashe Extra
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.28 ▼1.12 | 1.66 ▼0.08 | 43.27 ▲3.09 |
Dashboard /wp-admin | 2,223 ▲35 | 5.90 ▲1.01 | 106.24 ▼10.89 | 41.73 ▼3.80 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.01 ▲0.02 | 39.91 ▼1.95 | 34.78 ▼4.26 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.17 ▼4.84 | 598.02 ▼51.21 | 65.22 ▲10.60 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.20 ▼0.02 | 98.93 ▲3.40 | 43.14 ▲1.81 |
Ashe Extra Sub /wp-admin/admin.php?page=ashe-extra-sub | 828 | 2.38 | 32.96 | 25.60 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/ashe-extra/includes/importers/wxr-importer.php:3
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No tags were detected
ashe-extra/ashe-extra.php Passed 13 tests
"Ashe Extra" version 1.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
56 characters long description:
Adds One Click Demo Import functionality for Ashe theme.
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
No dangerous file extensions were detected17,722 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 2 | 133 | 164 | 15,513 |
PHP | 3 | 533 | 709 | 1,857 |
JavaScript | 1 | 25 | 15 | 190 |
CSS | 2 | 26 | 4 | 162 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 81.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 262.00 |
Average method complexity | 5.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 1 | 1.30% |
▷ Public methods | 44 | 57.14% |
▷ Protected methods | 33 | 42.86% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ 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
6 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/elementor.png | 14.86KB | 7.53KB | ▼ 49.35% |
assets/images/instagram-feed.png | 8.05KB | 5.04KB | ▼ 37.35% |
assets/images/recent-posts.png | 3.32KB | 2.26KB | ▼ 32.05% |
assets/images/cf7.png | 5.74KB | 2.65KB | ▼ 53.77% |
assets/images/mailchimp.png | 9.04KB | 4.61KB | ▼ 48.96% |