84% academy-elementor-addons

Code Review | Academy Elementor Addons

WordPress plugin Academy Elementor Addons scored 84% from 54 tests.

About plugin

  • Plugin page: academy-elementor...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.9
  • WordPress version: 5.9.2
  • First release: Feb 20, 2022
  • Latest release: Feb 21, 2022
  • Number of updates: 4
  • Update frequency: every 9.8 days
  • Top authors: academylms (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 146 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼297.63ms] Passed 4 tests

An overview of server-side resources used by Academy Elementor Addons
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.24 ▲1.82
Dashboard /wp-admin3.43 ▲0.0234.38 ▲0.67
Posts /wp-admin/edit.php3.65 ▲0.0138.99 ▲2.03
Add New Post /wp-admin/post-new.php6.90 ▼0.0798.67 ▼1,187.95
Media Library /wp-admin/upload.php3.30 ▲0.0024.79 ▼5.06

Server storage [IO: ▲0.39MB] [DB: ▲0.07MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 3 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Academy Elementor Addons
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,797 ▲5515.59 ▼0.175.96 ▼0.292.51 ▲0.31
Dashboard /wp-admin2,926 ▲656.12 ▼0.02114.69 ▼15.78155.21 ▼5.30
Posts /wp-admin/edit.php2,723 ▲513.37 ▲0.1363.22 ▼5.00139.57 ▼5.51
Add New Post /wp-admin/post-new.php1,742 ▲3122.37 ▲1.50398.53 ▼41.24154.66 ▲9.99
Media Library /wp-admin/upload.php1,732 ▲315.49 ▲0.03138.46 ▲0.83189.00 ▼4.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 3 options
    • academyea_required_rewrite_flush
    • academyea_first_install_time
    • academyea_version

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 no errors were found, 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
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/academy-elementor-addons/includes/widgets/course-grid.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/academy-elementor-addons/includes/widgets/dashboard.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/academy-elementor-addons/includes/widgets/registration.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Screenshots: These screenshots need descriptions #1, #2, #3 in academy-elementor-addons/assets to your readme.txt
  • Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

academy-elementor-addons/academy-elementor-addons.php Passed 13 tests

"Academy Elementor Addons" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
85 characters long description:
Elementor Integration - Design your eLearning website using Academy Elementor Addons.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin8,660 lines of code in 50 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity9.03
▷ Minimum class complexity1.00
▷ Maximum class complexity49.00
Average method complexity2.14
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes36100.00%
▷ Final classes12.78%
▷ Static methods2911.15%
▷ Public methods21181.15%
▷ Protected methods4818.46%
▷ Private methods10.38%
▷ Named functions00.00%
▷ Anonymous functions2100.00%
▷ Global constants654.55%
▷ Class constants545.45%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin