84% quality-checklist-opquast

Code Review | Checklist Opquast Qualité Web

WordPress plugin Checklist Opquast Qualité Web scored84%from 54 tests.

About plugin

  • Plugin page: quality-checklist...
  • Plugin version: 0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Nov 6, 2019
  • Latest release: Oct 26, 2022
  • Number of updates: 11
  • Update frequency: every 98.6 days
  • Top authors: audrasjb (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active /3,596 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼4.63ms] Passed 4 tests

A check of server-side resources used by Checklist Opquast Qualité Web
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.47 ▼7.10
Dashboard /wp-admin3.35 ▲0.0443.31 ▼2.88
Posts /wp-admin/edit.php3.40 ▲0.0445.89 ▼1.28
Add New Post /wp-admin/post-new.php5.93 ▲0.0487.61 ▼7.24
Media Library /wp-admin/upload.php3.27 ▲0.0434.24 ▼0.10
Checklist Opquast /wp-admin/tools.php?page=opquast3.9634.11

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Checklist Opquast Qualité Web
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.22 ▼1.161.54 ▼0.3639.61 ▼9.14
Dashboard /wp-admin2,207 ▲194.81 ▼0.12113.91 ▲12.0643.06 ▲1.76
Posts /wp-admin/edit.php2,093 ▲12.01 ▼0.0540.26 ▲2.3834.76 ▲1.15
Add New Post /wp-admin/post-new.php1,540 ▲723.09 ▲0.00627.43 ▼49.2654.25 ▲1.20
Media Library /wp-admin/upload.php1,392 ▲44.22 ▲0.0398.35 ▼3.6042.02 ▼2.55
Checklist Opquast /wp-admin/tools.php?page=opquast22,0232.1646.5650.66

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
  • 1356 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=opquast
    • > Notice in wp-content/plugins/quality-checklist-opquast/quality-checklist-opquast.php+282
    Trying to access array offset on value of type bool

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration Passed 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
6 plugin tags: checklist, ergonomie, accessibilit, a11y, opquast...

quality-checklist-opquast/quality-checklist-opquast.php Passed 13 tests

The principal PHP file in "Checklist Opquast Qualité Web" v. 0.2 is loaded by WordPress automatically on each request
45 characters long description:
Checklist qualité web Opquast pour WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin494 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP23019270
CSS110174
JavaScript14047
JSON3003

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
7 PNG files occupy 0.42MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
data/opquast-logo-full.png10.23KB5.79KB▼ 43.39%
data/opquast-logo.png9.22KB3.98KB▼ 56.84%
assets/screenshot-1.png185.26KB54.78KB▼ 70.43%
assets/banner-1544x500.png146.12KB44.62KB▼ 69.46%
assets/icon-128x128.png7.91KB3.24KB▼ 59.04%