79% institute-management

Code Review | Institute Management - Learning Management System

WordPress plugin Institute Management - Learning Management System scored79%from 54 tests.

About plugin

  • Plugin page: institute-management
  • Plugin version: 4.8
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.4
  • WordPress version: 6.3.1
  • First release: Jul 13, 2018
  • Latest release: Nov 6, 2023
  • Number of updates: 45
  • Update frequency: every 43.2 days
  • Top authors: weblizar (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

200+ active /20,058 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.51MB] [CPU: ▼2.84ms] Passed 4 tests

This is a short check of server-side resources used by Institute Management - Learning Management System
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1040.74 ▲6.49
Dashboard /wp-admin4.01 ▲0.6648.37 ▼10.42
Posts /wp-admin/edit.php4.06 ▲0.7055.30 ▲6.38
Add New Post /wp-admin/post-new.php6.53 ▲0.6488.68 ▼13.81
Media Library /wp-admin/upload.php3.86 ▲0.6341.16 ▲7.33
Enquiries /wp-admin/admin.php?page=institute-management-enquiries3.8635.12
Batches /wp-admin/admin.php?page=institute-management-batches3.8634.60
Administrators /wp-admin/admin.php?page=institute-management-administrators3.8631.86
Students /wp-admin/admin.php?page=institute-management-students3.8634.23
Courses /wp-admin/admin.php?page=institute-management-courses3.8633.31
Dashboard /wp-admin/admin.php?page=institute-management3.9036.54
Settings /wp-admin/admin.php?page=institute-management-settings3.8434.85
Fees /wp-admin/admin.php?page=institute-management-fees3.8636.84

Server storage [IO: ▲5.57MB] [DB: ▲0.01MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 74 new files
Database: 5 new tables, 8 new options
New tables
wp_wl_im_installments
wp_wl_im_batches
wp_wl_im_courses
wp_wl_im_students
wp_wl_im_enquiries
New WordPress options
widget_theysaidso_widget
can_compress_scripts
enquiry_form_title
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
enable_enquiry_form_title

Browser metrics Passed 4 tests

This is an overview of browser requirements for Institute Management - Learning Management System
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,862 ▲10014.25 ▼0.091.89 ▲0.2342.70 ▲3.57
Dashboard /wp-admin2,239 ▲655.51 ▼0.1490.13 ▼0.0640.10 ▼1.24
Posts /wp-admin/edit.php2,147 ▲471.98 ▼0.0335.82 ▼5.7532.47 ▼4.93
Add New Post /wp-admin/post-new.php1,563 ▲3723.33 ▲0.12672.47 ▼17.9865.32 ▲8.49
Media Library /wp-admin/upload.php1,447 ▲444.22 ▲0.0699.24 ▼6.6344.38 ▼2.00
Enquiries /wp-admin/admin.php?page=institute-management-enquiries1,8614.63123.93117.85
Batches /wp-admin/admin.php?page=institute-management-batches1,6843.47101.2852.65
Administrators /wp-admin/admin.php?page=institute-management-administrators2,1093.1191.8157.42
Students /wp-admin/admin.php?page=institute-management-students2,1703.25105.7772.05
Courses /wp-admin/admin.php?page=institute-management-courses1,7473.7587.9053.27
Dashboard /wp-admin/admin.php?page=institute-management1,1982.3036.3548.51
Settings /wp-admin/admin.php?page=institute-management-settings1,0092.6735.8142.09
Fees /wp-admin/admin.php?page=institute-management-fees1,6693.50101.2458.37

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • Zombie tables were found after uninstall: 5 tables
    • wp_wl_im_batches
    • wp_wl_im_installments
    • wp_wl_im_courses
    • wp_wl_im_students
    • wp_wl_im_enquiries
  • The uninstall procedure has failed, leaving 8 options in the database
    • enable_enquiry_form_title
    • enquiry_form_title
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: learning management system, institute batch, user permission, student management, institute...

institute-management/institute-management.php 85% from 13 tests

"Institute Management - Learning Management System" version 4.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 characters long)
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin16,824 lines of code in 54 files:
LanguageFilesBlank linesComment linesLines of code
SVG401211,625
PHP264291343,850
PO File11,3742,930571
JavaScript122765570
CSS117141208

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity29.79
▷ Minimum class complexity1.00
▷ Maximum class complexity125.00
Average method complexity5.86
▷ Minimum method complexity1.00
▷ Maximum method complexity42.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes14
▷ Abstract classes00.00%
▷ Concrete classes14100.00%
▷ Final classes17.14%
Methods83
▷ Static methods8096.39%
▷ Public methods7489.16%
▷ Protected methods00.00%
▷ Private methods910.84%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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