83% wp-support-by-theitoons

Code Review | Helpdesk for tech and design needs

WordPress plugin Helpdesk for tech and design needs scored83%from 54 tests.

About plugin

  • Plugin page: wp-support-by-the...
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.3.2
  • WordPress version: 6.3.1
  • First release: Dec 18, 2015
  • Latest release: Mar 20, 2020
  • Number of updates: 9
  • Update frequency: every 172.7 days
  • Top authors: pntrivedy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /855 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.01MB] [CPU: ▼11.99ms] Passed 4 tests

A check of server-side resources used by Helpdesk for tech and design needs
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0243.66 ▼9.38
Dashboard /wp-admin3.37 ▼0.0249.84 ▼12.50
Posts /wp-admin/edit.php3.42 ▲0.0250.98 ▼4.26
Add New Post /wp-admin/post-new.php5.97 ▲0.0489.31 ▼21.83
Media Library /wp-admin/upload.php3.29 ▲0.0232.65 ▼2.37

Server storage [IO: ▲0.02MB] [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: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
support_db_version

Browser metrics Passed 4 tests

A check of browser resources used by Helpdesk for tech and design needs
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲6814.71 ▲0.302.21 ▲0.4446.32 ▲7.28
Dashboard /wp-admin2,210 ▲335.56 ▲0.0285.47 ▼3.5172.49 ▲27.82
Posts /wp-admin/edit.php2,115 ▲152.03 ▼0.0137.60 ▼4.3933.80 ▼4.06
Add New Post /wp-admin/post-new.php1,541 ▲1323.09 ▼0.13735.61 ▲52.7765.59 ▲8.85
Media Library /wp-admin/upload.php1,415 ▲184.15 ▼0.0399.48 ▼13.4973.03 ▲25.54

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
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • support_db_version

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-support-by-theitoons/theitoonsplugin.php:121

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === wp-support-by-theitoons === )
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

wp-support-by-theitoons/theitoonsplugin.php 85% from 13 tests

The primary PHP file in "Helpdesk for tech and design needs" version 2.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 245 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-support-by-theitoons.php" instead of "theitoonsplugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin109 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP11446679
CSS16024
JavaScript1606

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
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

All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icon.png0.59KB0.63KB0.00%
patron-button.png6.50KB6.98KB0.00%