10% academy-elementor-addons

Code Review | Academy Elementor Addons

WordPress plugin Academy Elementor Addons scored10%from 54 tests.

About plugin

  • Plugin page: academy-elementor...
  • Plugin version: 1.2.1
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.2-6.2
  • WordPress version: 6.3.1
  • First release: Feb 20, 2022
  • Latest release: Sep 4, 2023
  • Number of updates: 13
  • Update frequency: every 45.7 days
  • Top authors: academylms (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /3,309 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to 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.04MB] [CPU: ▼5.89ms] Passed 4 tests

A check of server-side resources used by Academy Elementor Addons
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0640.28 ▼3.96
Dashboard /wp-admin3.36 ▲0.0149.98 ▼15.26
Posts /wp-admin/edit.php3.47 ▲0.1152.18 ▲0.42
Add New Post /wp-admin/post-new.php5.94 ▲0.0588.08 ▼4.77
Media Library /wp-admin/upload.php3.28 ▲0.0539.44 ▲3.11

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, 9 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Academy Elementor Addons
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.35 ▲0.051.74 ▼0.1442.03 ▼3.13
Dashboard /wp-admin2,217 ▲405.54 ▼0.0583.91 ▼8.3539.60 ▼1.68
Posts /wp-admin/edit.php2,122 ▲222.09 ▲0.0940.61 ▲3.6638.21 ▲0.12
Add New Post /wp-admin/post-new.php1,556 ▲3018.37 ▼5.31648.84 ▼38.1770.11 ▲18.82
Media Library /wp-admin/upload.php1,425 ▲284.17 ▲0.01102.00 ▼1.8545.69 ▼0.75

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 9 options in the database
    • academyea_version
    • db_upgraded
    • widget_theysaidso_widget
    • academyea_required_rewrite_flush
    • academyea_first_install_time
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/academy-elementor-addons/includes/widgets/registration.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/academy-elementor-addons/includes/widgets/course-filters.php:8
    • > 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/login-form.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Tags: There are too many tags (15 tag instead of maximum 10)
  • Screenshots: These screenshots need descriptions #1, #2, #3 in academy-elementor-addons/assets to your readme.txt
The official readme.txt is a good inspiration

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

"Academy Elementor Addons" version 1.2.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
There were no executable files found in this plugin11,379 lines of code in 59 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
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity9.15
▷ Minimum class complexity1.00
▷ Maximum class complexity49.00
Average method complexity2.03
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes40100.00%
▷ Final classes12.50%
▷ Static methods319.66%
▷ Public methods24877.26%
▷ Protected methods7222.43%
▷ Private methods10.31%
▷ 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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin