90% dadevarzan-wp-event

Code Review | Dadevarzan WordPress Event

WordPress plugin Dadevarzan WordPress Event scored90%from 54 tests.

About plugin

  • Plugin page: dadevarzan-wp-event
  • Plugin version: 1.1.9
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-6.0.0
  • WordPress version: 6.3.1
  • First release: Feb 12, 2019
  • Latest release: May 31, 2022
  • Number of updates: 8
  • Update frequency: every 151.1 days
  • Top authors: dadevarzan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /889 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼1.83ms] Passed 4 tests

Analyzing server-side resources used by Dadevarzan WordPress Event
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1139.07 ▲2.56
Dashboard /wp-admin3.40 ▲0.1051.29 ▲3.31
Posts /wp-admin/edit.php3.50 ▲0.1544.79 ▼4.91
Add New Post /wp-admin/post-new.php6.09 ▲0.2081.24 ▼3.86
Media Library /wp-admin/upload.php3.32 ▲0.0937.41 ▼1.12

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Dadevarzan WordPress Event
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲6214.35 ▲0.061.65 ▼0.0939.96 ▼2.43
Dashboard /wp-admin2,226 ▲555.61 ▲0.0385.16 ▼2.3039.96 ▼0.99
Posts /wp-admin/edit.php2,128 ▲282.04 ▼0.0035.10 ▼5.9432.27 ▼3.68
Add New Post /wp-admin/post-new.php1,552 ▲2423.44 ▲0.31669.40 ▼15.9363.06 ▲1.37
Media Library /wp-admin/upload.php1,431 ▲314.18 ▲0.0493.75 ▼9.4143.01 ▼4.74

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: dadevarzan, wp, wordpress, event, dadehvarzan

dadevarzan-wp-event/dadevarzan-wp-event.php Passed 13 tests

The entry point to "Dadevarzan WordPress Event" version 1.1.9 is a PHP file that has certain tags in its header comment area
29 characters long description:
event post type for 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
Good job! No executable or dangerous file extensions detected286 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP23618240
PO File1161746

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods7100.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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 images were found in this plugin