78% allcontactorgv

Code Review | AllContactOrgV

WordPress plugin AllContactOrgV scored78%from 54 tests.

About plugin

  • Plugin page: allcontactorgv
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-6.0
  • WordPress version: 6.3.1
  • First release: Oct 21, 2022
  • Latest release: Oct 21, 2022
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: ulrezaj (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /143 total downloads


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.07MB] [CPU: ▼6.64ms] Passed 4 tests

Analyzing server-side resources used by AllContactOrgV
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0846.92 ▼1.48
Dashboard /wp-admin3.38 ▲0.0455.47 ▼9.08
Posts /wp-admin/edit.php3.50 ▲0.1451.04 ▼5.51
Add New Post /wp-admin/post-new.php5.98 ▲0.1089.13 ▼10.49
Media Library /wp-admin/upload.php3.31 ▲0.0841.93 ▲6.72

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

AllContactOrgV: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,913 ▲15213.42 ▼0.939.31 ▲7.5743.85 ▲0.43
Dashboard /wp-admin2,214 ▲445.68 ▲0.0288.17 ▼18.2839.51 ▲4.58
Posts /wp-admin/edit.php2,116 ▲161.99 ▼0.0535.63 ▼3.1633.77 ▼2.82
Add New Post /wp-admin/post-new.php1,540 ▲1223.10 ▼0.05685.02 ▲4.7263.07 ▼2.91
Media Library /wp-admin/upload.php1,419 ▲194.20 ▼0.01108.11 ▼3.4946.50 ▲0.17

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 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
Please take a closer look at the following
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/allcontactorgv/admin/partials/allcontactorgv-admin-display.php
    • > /wp-content/plugins/allcontactorgv/public/partials/allcontactorgv-public-display.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/allcontactorgv/includes/class-allcontactorgv-shortcode.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/allcontactorgv/includes/class-allcontactorgv.php:113
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/allcontactorgv/includes/index.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/allcontactorgv/admin/welcome.php:1

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add an image for screenshot #1 (screenshot-1.png)
The official readme.txt might help

allcontactorgv/allcontactorgv.php 92% from 13 tests

The primary PHP file in "AllContactOrgV" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 238 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin299 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity2.38
▷ Minimum class complexity1.00
▷ Maximum class complexity6.00
Average method complexity1.27
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
▷ Static methods410.00%
▷ Public methods3587.50%
▷ Protected methods00.00%
▷ Private methods512.50%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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