10% arile-extra

Code Review | Arile Extra

WordPress plugin Arile Extra scored10%from 54 tests.

About plugin

  • Plugin page: arile-extra
  • Plugin version: 6.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jul 13, 2019
  • Latest release: Nov 17, 2023
  • Number of updates: 62
  • Update frequency: every 25.6 days
  • Top authors: themearile (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20,000+ active /535,724 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
  • The plugin did not install without errors
    • > User deprecated in wp-includes/functions.php+5453
    Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.25ms] Passed 4 tests

Analyzing server-side resources used by Arile Extra
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0228.08 ▼14.45
Dashboard /wp-admin3.34 ▲0.0446.44 ▼1.11
Posts /wp-admin/edit.php3.39 ▲0.0444.06 ▼1.71
Add New Post /wp-admin/post-new.php5.92 ▲0.0385.42 ▼7.72
Media Library /wp-admin/upload.php3.26 ▲0.0334.94 ▼0.79

Server storage [IO: ▲16.20MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 241 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
fresh_site_activate

Browser metrics Passed 4 tests

Arile Extra: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,735 ▼2714.19 ▼0.191.78 ▲0.088.00 ▼35.85
Dashboard /wp-admin2,189 ▲125.63 ▼0.0489.27 ▼9.8339.68 ▼6.93
Posts /wp-admin/edit.php2,106 ▲31.94 ▼0.0040.10 ▼5.8736.54 ▼2.91
Add New Post /wp-admin/post-new.php1,526 ▼023.30 ▲0.40733.31 ▲9.3468.68 ▲14.28
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.0399.79 ▼15.5041.44 ▼6.77

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-comments
    • widget_recent-posts
    • fresh_site_activate
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • 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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 62× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arile-extra/inc/consultstreet/customizer/customizer-page-editor/customizer-page-editor.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php:37
    • > PHP Notice
      Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-arvada-consultstreet-service.php:2
    • > PHP Notice
      Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 19
    • > PHP Notice
      Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-project.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-top-header.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-brightpress-testimonial.php:2
    • > PHP Notice
      Undefined variable: activate_theme in wp-content/plugins/arile-extra/inc/consultstreet/front-page/extra-consultstreet-cta.php on line 25

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Requires at least: The plugin version is formatted incorrectly
The official readme.txt might help

arile-extra/arile-extra.php Passed 13 tests

The main PHP script in "Arile Extra" version 6.2 is automatically included on every request by WordPress
62 characters long description:
Arile Extra Enhances ThemeArile with additional functionality.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected9,255 lines of code in 64 files:
LanguageFilesBlank linesComment linesLines of code
PHP619664369,111
JavaScript23248121
CSS17223

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity1.32
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.30
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes25
▷ Abstract classes00.00%
▷ Concrete classes25100.00%
▷ Final classes00.00%
Methods27
▷ Static methods13.70%
▷ Public methods27100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions39
▷ Named functions39100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.76MB with 0.55MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
inc/consultstreet/images/about-img-1.png773.39KB214.66KB▼ 72.24%