84% ashe-extra

Code Review | Ashe Extra

WordPress plugin Ashe Extra scored 84% from 54 tests.

About plugin

  • Plugin page: ashe-extra
  • Plugin version: 1.2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.0
  • WordPress version: 6.3.1
  • First release: Jul 6, 2020
  • Latest release: Jul 4, 2023
  • Number of updates: 38
  • Update frequency: every 28.8 days
  • Top authors: wproyal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

4,000+ active / 34,885 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.40 ▲1.18
Dashboard /wp-admin3.33 ▲0.0344.43 ▼9.24
Posts /wp-admin/edit.php3.45 ▲0.0945.10 ▲0.17
Add New Post /wp-admin/post-new.php5.91 ▲0.0390.52 ▼5.61
Media Library /wp-admin/upload.php3.26 ▲0.0336.06 ▼2.30
Ashe Extra Sub /wp-admin/admin.php?page=ashe-extra-sub3.2231.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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ashe Extra
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲7913.28 ▼1.121.66 ▼0.0843.27 ▲3.09
Dashboard /wp-admin2,223 ▲355.90 ▲1.01106.24 ▼10.8941.73 ▼3.80
Posts /wp-admin/edit.php2,100 ▲112.01 ▲0.0239.91 ▼1.9534.78 ▼4.26
Add New Post /wp-admin/post-new.php1,550 ▲1718.17 ▼4.84598.02 ▼51.2165.22 ▲10.60
Media Library /wp-admin/upload.php1,405 ▲174.20 ▼0.0298.93 ▲3.4043.14 ▲1.81
Ashe Extra Sub /wp-admin/admin.php?page=ashe-extra-sub8282.3832.9625.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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.38
Average class complexity81.00
▷ Minimum class complexity1.00
▷ Maximum class complexity262.00
Average method complexity5.16
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods11.30%
▷ Public methods4457.14%
▷ Protected methods3342.86%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.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
FileSize - originalSize - compressedSavings
assets/images/elementor.png14.86KB7.53KB▼ 49.35%
assets/images/instagram-feed.png8.05KB5.04KB▼ 37.35%
assets/images/recent-posts.png3.32KB2.26KB▼ 32.05%
assets/images/cf7.png5.74KB2.65KB▼ 53.77%
assets/images/mailchimp.png9.04KB4.61KB▼ 48.96%