84% wpsso-organization-place

Code Review | WPSSO Organization and Place Manager

WordPress plugin WPSSO Organization and Place Manager scored84%from 54 tests.

About plugin

  • Plugin page: wpsso-organizatio...
  • Plugin version: 2.0.0
  • PHP compatiblity: 7.2.34+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 17, 2021
  • Latest release: Nov 9, 2023
  • Number of updates: 710
  • Update frequency: every 1.0 days
  • Top authors: jsmoriss (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active /9,926 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.20MB] [CPU: ▼3.37ms] Passed 4 tests

A check of server-side resources used by WPSSO Organization and Place Manager
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2040.90 ▼2.19
Dashboard /wp-admin3.50 ▲0.2048.36 ▼1.43
Posts /wp-admin/edit.php3.61 ▲0.2646.49 ▲1.63
Add New Post /wp-admin/post-new.php6.08 ▲0.1992.83 ▼7.90
Media Library /wp-admin/upload.php3.42 ▲0.1934.87 ▼1.97

Server storage [IO: ▲0.36MB] [DB: ▲0.07MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

WPSSO Organization and Place Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲5914.23 ▼0.202.03 ▲0.1943.75 ▼0.47
Dashboard /wp-admin2,201 ▲275.57 ▲0.0194.27 ▲3.0743.08 ▲6.68
Posts /wp-admin/edit.php2,106 ▲31.96 ▼0.0136.71 ▼3.3634.70 ▼2.66
Add New Post /wp-admin/post-new.php1,533 ▲522.64 ▼0.39585.17 ▼28.8646.43 ▼5.12
Media Library /wp-admin/upload.php1,406 ▲64.27 ▲0.0797.55 ▼10.9540.40 ▼4.54

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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 items
  • 20× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/wpsso-organization-place/lib/config.php
    • > /wp-content/plugins/wpsso-organization-place/lib/org.php
    • > /wp-content/plugins/wpsso-organization-place/lib/register.php
    • > /wp-content/plugins/wpsso-organization-place/lib/place/filters-edit.php
    • > /wp-content/plugins/wpsso-organization-place/lib/filters-edit.php
    • > /wp-content/plugins/wpsso-organization-place/lib/org/filters-options.php
    • > /wp-content/plugins/wpsso-organization-place/lib/abstract/add-on.php
    • > /wp-content/plugins/wpsso-organization-place/lib/place/filters-og.php
    • > /wp-content/plugins/wpsso-organization-place/wpsso-organization-place.php
    • > /wp-content/plugins/wpsso-organization-place/gettext/gettext-lib-abstract-com.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention: You can look at the official readme.txt

wpsso-organization-place/wpsso-organization-place.php Passed 13 tests

The entry point to "WPSSO Organization and Place Manager" version 2.0.0 is a PHP file that has certain tags in its header comment area
119 characters long description:
Manage Organizations (publisher, organizer, etc.) and Places for Facebook, Pinterest, and Google local business markup.

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
Good job! No executable or dangerous file extensions detected2,763 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP201,0054652,157
PO File1188197476
Markdown1200101
HTML231029

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity18.50
▷ Minimum class complexity1.00
▷ Maximum class complexity54.00
Average method complexity4.30
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes18
▷ Abstract classes211.11%
▷ Concrete classes1688.89%
▷ Final classes00.00%
Methods95
▷ Static methods2223.16%
▷ Public methods8084.21%
▷ Protected methods44.21%
▷ Private methods1111.58%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants9
▷ Global constants9100.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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icon-128x128.png18.23KB6.52KB▼ 64.21%
images/icon-256x256.png51.73KB19.32KB▼ 62.66%