89% exam-and-quiz-online-proctoring-with-lms-integration

Code Review | ProctoPress : Quiz/Exam Proctoring For Learning Management System(LMS)

WordPress plugin ProctoPress : Quiz/Exam Proctoring For Learning Management System(LMS) scored89%from 54 tests.

About plugin

  • Plugin page: exam-and-quiz-onl...
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.3.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.3
  • WordPress version: 6.3.1
  • First release: Nov 28, 2022
  • Latest release: Aug 9, 2023
  • Number of updates: 12
  • Update frequency: every 21.4 days
  • Top authors: prashantbhivsane (66.67%)gautambansal (41.67%)

Code review

54 tests

User reviews

4 reviews

Install metrics

60+ active /1,423 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼4.44ms] Passed 4 tests

Analyzing server-side resources used by ProctoPress : Quiz/Exam Proctoring For Learning Management System(LMS)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1838.43 ▲2.08
Dashboard /wp-admin3.47 ▲0.1646.01 ▼6.69
Posts /wp-admin/edit.php3.58 ▲0.2242.39 ▼4.22
Add New Post /wp-admin/post-new.php6.07 ▲0.1882.13 ▼7.96
Media Library /wp-admin/upload.php3.39 ▲0.1637.31 ▲1.13

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

ProctoPress : Quiz/Exam Proctoring For Learning Management System(LMS): an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.41 ▲0.061.71 ▲0.1641.75 ▼0.32
Dashboard /wp-admin2,210 ▲295.98 ▲0.27102.32 ▲2.9185.80 ▲44.03
Posts /wp-admin/edit.php2,130 ▲302.39 ▲0.4140.10 ▲4.7369.93 ▲32.73
Add New Post /wp-admin/post-new.php1,554 ▲2823.26 ▲0.25668.51 ▲33.77107.45 ▲48.64
Media Library /wp-admin/upload.php1,430 ▲274.67 ▲0.45105.23 ▲5.8258.34 ▲15.18

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: invigilation, lms, browsing limitation, real-time candidate monitoring, candidate authentication...

exam-and-quiz-online-proctoring-with-lms-integration/proctoring-for-lms.php 85% from 13 tests

"ProctoPress : Quiz/Exam Proctoring For Learning Management System(LMS)" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("exam-and-quiz-online-proctoring-with-lms-integration.php" instead of "proctoring-for-lms.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)

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
No dangerous file extensions were detected13,764 lines of code in 46 files:
LanguageFilesBlank linesComment linesLines of code
CSS62612,459
PHP292417281,226
JavaScript110679

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity15.14
▷ Minimum class complexity1.00
▷ Maximum class complexity64.00
Average method complexity3.48
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods40
▷ Static methods410.00%
▷ Public methods3485.00%
▷ Protected methods00.00%
▷ Private methods615.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants240.00%
▷ Class constants360.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/miniorange_icon.png0.44KB0.35KB▼ 18.61%
admin/images/mo_procto_support_logo.png16.95KB6.28KB▼ 62.96%
admin/images/miniorange_logo.png29.37KB9.84KB▼ 66.50%
admin/images/flags16.png61.80KB19.90KB▼ 67.79%
public/images/google_chrome_logo.png5.97KB2.92KB▼ 51.11%