10% arile-super

Code Review | Arile Super

WordPress plugin Arile Super scored10%from 54 tests.

About plugin

  • Plugin page: arile-super
  • Plugin version: 1.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: May 19, 2022
  • Latest release: Oct 21, 2023
  • Number of updates: 13
  • Update frequency: every 40.0 days
  • Top authors: themearile (100%)

Code review

54 tests

User reviews

1 review

Install metrics

5,000+ active /37,900 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > 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.02MB] [CPU: ▼6.32ms] Passed 4 tests

Analyzing server-side resources used by Arile Super
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.45 ▼0.0238.90 ▼0.98
Dashboard /wp-admin3.33 ▲0.0348.16 ▼2.47
Posts /wp-admin/edit.php3.39 ▲0.0346.06 ▼4.37
Add New Post /wp-admin/post-new.php5.92 ▲0.0394.89 ▼17.46
Media Library /wp-admin/upload.php3.26 ▲0.0337.34 ▲2.16

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 112 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
fresh_site_activate
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Arile Super
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,735 ▼2614.22 ▼0.051.85 ▲0.309.18 ▼30.35
Dashboard /wp-admin2,192 ▲115.48 ▼0.2283.99 ▼16.0340.77 ▲1.36
Posts /wp-admin/edit.php2,106 ▲32.02 ▲0.0337.73 ▼4.2532.88 ▼4.06
Add New Post /wp-admin/post-new.php1,526 ▼123.06 ▲0.11588.38 ▼52.3764.30 ▼0.92
Media Library /wp-admin/upload.php1,394 ▼64.23 ▲0.0392.45 ▼8.3340.99 ▼1.83

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • fresh_site_activate
    • widget_recent-comments

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
  • 48× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-super/inc/aasta/front-page/super-aasta-testimonial.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-super/inc/aasta/front-page/super-stockpress-service.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/arile-super/arile-super.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-super/inc/aasta/front-page/super-agencywp-project.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-super/inc/aasta/front-page/super-builderzone-service.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/arile-super/inc/aasta/front-page/super-aasta-project.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arile-super/inc/aasta/customizer/super-aasta-customizer-default.php:299
    • > PHP Fatal error
      Uncaught Error: Call to undefined function update_option() in wp-content/plugins/arile-super/inc/widgets/widget.php:22
    • > PHP Warning
      Use of undefined constant arile_super_plugin_dir - assumed 'arile_super_plugin_dir' (this will throw an Error in a future version of PHP) in wp-content/plugins/arile-super/inc/aasta/aasta.php on line 6
    • > PHP Fatal error
      require(): Failed opening required 'arile_super_plugin_dirinc/aasta/customizer/super-aasta-customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/arile-super/inc/aasta/aasta.php on line 6

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Requires at least: Invalid plugin version format
Please take inspiration from this readme.txt

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

The entry point to "Arile Super" version 1.2 is a PHP file that has certain tags in its header comment area
62 characters long description:
Arile Super Enhances ThemeArile with additional functionality.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin5,317 lines of code in 48 files:
LanguageFilesBlank linesComment linesLines of code
PHP482881215,317

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity1.57
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.57
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods7
▷ Static methods114.29%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin