94% lorem-expert-help

Code Review | Lorem: Expert Website Help

WordPress plugin Lorem: Expert Website Help scored 94% from 54 tests.

About plugin

  • Plugin page: lorem-expert-help
  • Plugin version: 0.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-5.2
  • WordPress version: 5.9.2
  • First release: Jun 9, 2017
  • Latest release: May 10, 2019
  • Number of updates: 26
  • Update frequency: every 27.0 days
  • Top authors: loremtechnologies (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,985 total downloads

Benchmarks

Plugin footprint Passed 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.01MB] [CPU: ▼303.68ms] Passed 4 tests

A check of server-side resources used by Lorem: Expert Website Help
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0253.82 ▲0.70
Dashboard /wp-admin3.42 ▲0.0133.42 ▼18.67
Posts /wp-admin/edit.php3.65 ▲0.0137.18 ▲0.17
Add New Post /wp-admin/post-new.php6.89 ▼0.0893.28 ▼1,193.20
Media Library /wp-admin/upload.php3.30 ▲0.0122.22 ▼3.03

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Lorem: Expert Website Help
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲2115.98 ▲0.316.98 ▲0.462.39 ▲0.26
Dashboard /wp-admin2,895 ▲376.09 ▲0.01116.42 ▼15.21156.65 ▼5.45
Posts /wp-admin/edit.php2,673 ▼213.24 ▼0.0061.17 ▼2.89135.33 ▼7.94
Add New Post /wp-admin/post-new.php1,661 ▼5016.57 ▼5.04440.41 ▼6.13148.94 ▼13.95
Media Library /wp-admin/upload.php1,698 ▼05.52 ▼0.00140.00 ▼5.29181.64 ▼12.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 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 50% from 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
The following issues need your attention
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/lorem-expert-help/lorem-expert-help.php

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)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
You can take inspiration from this readme.txt

lorem-expert-help/lorem-expert-help.php 92% from 13 tests

The primary PHP file in "Lorem: Expert Website Help" version 0.3.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 148 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin43 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP4243643

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods7
▷ Static methods7100.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants250.00%
▷ Class constants250.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin