84% snappy-concierge

Code Review | Snappy Concierge

WordPress plugin Snappy Concierge scored84%from 54 tests.

About plugin

  • Plugin page: snappy-concierge
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8.0-3.9.0
  • WordPress version: 6.3.1
  • First release: May 12, 2014
  • Latest release: May 30, 2014
  • Number of updates: 5
  • Update frequency: every 3.8 days
  • Top authors: userscape (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /750 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
Install script ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼11.87ms] Passed 4 tests

An overview of server-side resources used by Snappy Concierge
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.93 ▲2.61
Dashboard /wp-admin3.31 ▼0.0349.01 ▼16.25
Posts /wp-admin/edit.php3.36 ▲0.0150.20 ▲1.25
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.18 ▼34.82
Media Library /wp-admin/upload.php3.24 ▲0.0138.79 ▲2.36
Snappy Concierge /wp-admin/options-general.php?page=snappy-concierge-wordpress-plugin3.2029.33

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

Browser metrics Passed 4 tests

A check of browser resources used by Snappy Concierge
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲9813.63 ▼0.631.81 ▲0.0245.65 ▲4.60
Dashboard /wp-admin2,225 ▲224.82 ▼0.0699.55 ▼7.3139.17 ▼9.71
Posts /wp-admin/edit.php2,104 ▲42.00 ▼0.0542.96 ▲2.9235.82 ▲1.94
Add New Post /wp-admin/post-new.php1,548 ▲1723.21 ▼0.04651.31 ▼12.9651.98 ▼0.42
Media Library /wp-admin/upload.php1,404 ▲44.35 ▲0.2198.73 ▼16.6146.17 ▼1.80
Snappy Concierge /wp-admin/options-general.php?page=snappy-concierge-wordpress-plugin8052.0224.9126.12

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/snappy-concierge/snappy-concierge.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

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
These attributes need your attention:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === snappy-concierge === )
You can take inspiration from this readme.txt

snappy-concierge/snappy-concierge.php Passed 13 tests

The main PHP script in "Snappy Concierge" version 1.1 is automatically included on every request by WordPress
134 characters long description:
Snappy Concierge makes it easy for agencies and consultancies to organize ongoing change and support requests across multiple clients.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin86 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1261986

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin