90% quizchecks

Code Review | Quiz Plugin: Create intelligent quizzes, inquiry forms and more | Quizchecks

WordPress plugin Quiz Plugin: Create intelligent quizzes, inquiry forms and more | Quizchecks scored90%from 54 tests.

About plugin

  • Plugin page: quizchecks
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8
  • WordPress version: 6.3.1
  • First release: Aug 3, 2021
  • Latest release: Feb 1, 2022
  • Number of updates: 15
  • Update frequency: every 12.2 days
  • Top authors: quizchecks (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /1,495 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.47ms] Passed 4 tests

Server-side resources used by Quiz Plugin: Create intelligent quizzes, inquiry forms and more | Quizchecks
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.88 ▼2.02
Dashboard /wp-admin3.32 ▲0.0246.01 ▼1.41
Posts /wp-admin/edit.php3.37 ▲0.0245.62 ▼2.99
Add New Post /wp-admin/post-new.php5.90 ▲0.0281.45 ▼19.45
Media Library /wp-admin/upload.php3.24 ▲0.0236.02 ▲3.88

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Quiz Plugin: Create intelligent quizzes, inquiry forms and more | Quizchecks
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6913.27 ▼1.131.86 ▼0.0447.43 ▲5.29
Dashboard /wp-admin2,224 ▲364.88 ▼0.97102.80 ▼2.9183.97 ▲38.42
Posts /wp-admin/edit.php2,104 ▲122.02 ▼0.0435.85 ▼5.5733.40 ▼4.54
Add New Post /wp-admin/post-new.php1,527 ▲1323.25 ▲5.64710.18 ▼17.7753.21 ▲2.76
Media Library /wp-admin/upload.php1,397 ▲64.22 ▼0.0993.74 ▼3.6574.85 ▲29.69

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 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
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)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: quiz, form, exam, lead, survey

quizchecks/quizchecks.php 92% from 13 tests

The main PHP file in "Quiz Plugin: Create intelligent quizzes, inquiry forms and more | Quizchecks" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 211 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected132 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12711132

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/Quizchecks-Icon-28x28-white.png1.54KB0.99KB▼ 35.72%
assets/img/icon-256x256.png8.72KB5.14KB▼ 40.99%
assets/img/Quizchecks-Icon-22x22.png1.42KB0.86KB▼ 39.28%
assets/img/Q4-Online-Quiz-and-Test-Templates.png120.39KB119.80KB0.49%