100% eventpeak-channel

Code Review | Eventpeak Channel

WordPress plugin Eventpeak Channel scored 100% from 54 tests.

About plugin

  • Plugin page: eventpeak-channel
  • Plugin version: 1.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.9
  • WordPress version: 5.8.1
  • First release: Dec 12, 2018
  • Latest release: Dec 13, 2018
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: eventpeak (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 305 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

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

A check of server-side resources used by Eventpeak Channel
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0234.01 ▲7.73
Dashboard /wp-admin3.08 ▲0.0347.89 ▲10.21
Posts /wp-admin/edit.php3.13 ▲0.0244.05 ▲2.57
Add New Post /wp-admin/post-new.php5.44 ▲0.0087.58 ▼578.74
Media Library /wp-admin/upload.php3.02 ▲0.0233.84 ▲1.94

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Eventpeak Channel
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,698 ▲10215.91 ▲0.238.95 ▼2.3249.85 ▲2.08
Dashboard /wp-admin2,987 ▲506.09 ▼0.02143.16 ▼2.77116.28 ▲7.95
Posts /wp-admin/edit.php2,759 ▲202.71 ▼0.0164.34 ▼5.6792.69 ▲2.74
Add New Post /wp-admin/post-new.php3,700 ▲2,08515.10 ▼6.40489.02 ▲188.63110.72 ▲8.95
Media Library /wp-admin/upload.php1,827 ▲205.01 ▼0.03153.73 ▼7.24113.95 ▲1.59

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
3 plugin tags: events, what to do, eventpeak

eventpeak-channel/eventpeak-channel.php Passed 13 tests

The entry point to "Eventpeak Channel" version 1.0.5 is a PHP file that has certain tags in its header comment area
77 characters long description:
Embed Eventpeak channels with events and activities to your Wordpress website

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin91 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2227591

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.11
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected