94% wpsso-plm

Code Review | WPSSO Place and Local SEO Markup

WordPress plugin WPSSO Place and Local SEO Markup scored 94% from 54 tests.

About plugin

  • Plugin page: wpsso-plm
  • Plugin version: 6.2.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.8.2
  • WordPress version: 5.8.1
  • First release: Oct 21, 2014
  • Latest release: Nov 20, 2021
  • Number of updates: 3,114
  • Update frequency: every 0.8 days
  • Top authors: jsmoriss (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

1,000+ active / 147,350 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

A check of server-side resources used by WPSSO Place and Local SEO Markup
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.01 ▲0.2933.23 ▲12.03
Dashboard /wp-admin3.30 ▲0.2445.68 ▲1.20
Posts /wp-admin/edit.php3.35 ▲0.2442.34 ▼0.04
Add New Post /wp-admin/post-new.php5.59 ▲0.1690.37 ▼678.10
Media Library /wp-admin/upload.php3.18 ▲0.1731.80 ▼1.95

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

WPSSO Place and Local SEO Markup: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,688 ▲9216.07 ▲0.389.40 ▼1.5949.35 ▲4.32
Dashboard /wp-admin2,982 ▲485.94 ▲0.02134.73 ▼13.46117.21 ▼2.96
Posts /wp-admin/edit.php2,748 ▲92.83 ▼0.0266.51 ▲3.1787.46 ▲0.06
Add New Post /wp-admin/post-new.php1,678 ▲618.80 ▼0.28378.33 ▼2.44101.53 ▼3.72
Media Library /wp-admin/upload.php1,819 ▲125.03 ▼0.01143.93 ▼11.42118.85 ▼10.83

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests 75% 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 50% 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
The following issues need your attention
  • 14× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
    • > /wp-content/plugins/wpsso-plm/wpsso-plm.php
    • > /wp-content/plugins/wpsso-plm/lib/filters-upgrade.php
    • > /wp-content/plugins/wpsso-plm/gettext/gettext-lib-abstracts-com.php
    • > /wp-content/plugins/wpsso-plm/gettext/gettext-lib-config.php
    • > /wp-content/plugins/wpsso-plm/lib/abstracts/add-on.php
    • > /wp-content/plugins/wpsso-plm/lib/abstracts/com/add-on.php
    • > /wp-content/plugins/wpsso-plm/lib/register.php
    • > /wp-content/plugins/wpsso-plm/lib/filters.php
    • > /wp-content/plugins/wpsso-plm/lib/filters-edit.php
    • > /wp-content/plugins/wpsso-plm/lib/submenu/plm-general.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: restaurant, meta tags, schemaorg, local business, local seo...

wpsso-plm/wpsso-plm.php Passed 13 tests

"WPSSO Place and Local SEO Markup" version 6.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
99 characters long description:
Manage Schema Places and Local SEO for Facebook / Open Graph, Pinterest, and Google Local Business.

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
Good job! No executable or dangerous file extensions detected2,296 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP158523401,843
PO File1147148356
Markdown125067
HTML232030

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity21.50
▷ Minimum class complexity3.00
▷ Maximum class complexity57.00
Average method complexity4.51
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes12
▷ Abstract classes216.67%
▷ Concrete classes1083.33%
▷ Final classes00.00%
Methods70
▷ Static methods1927.14%
▷ Public methods5781.43%
▷ Protected methods68.57%
▷ Private methods710.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants9100.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 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icon-128x128.png18.61KB7.50KB▼ 59.69%
images/icon-256x256.png43.11KB17.68KB▼ 58.99%