84% smntcs-utilities

Code Review | SMNTCS Utilities

WordPress plugin SMNTCS Utilities scored84%from 54 tests.

About plugin

  • Plugin page: smntcs-utilities
  • Plugin version: 2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.4
  • WordPress version: 6.3.1
  • First release: Jun 15, 2019
  • Latest release: Nov 12, 2023
  • Number of updates: 17
  • Update frequency: every 94.9 days
  • Top authors: nielslange (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,402 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.22ms] Passed 4 tests

An overview of server-side resources used by SMNTCS Utilities
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.77 ▼4.36
Dashboard /wp-admin3.31 ▲0.0145.19 ▼0.83
Posts /wp-admin/edit.php3.43 ▲0.0743.87 ▼7.18
Add New Post /wp-admin/post-new.php5.89 ▲0.0190.27 ▼7.43
Media Library /wp-admin/upload.php3.24 ▲0.0131.46 ▼1.89

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for SMNTCS Utilities
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5314.67 ▲0.532.15 ▲0.4046.19 ▲1.87
Dashboard /wp-admin2,195 ▲155.62 ▲0.0090.78 ▼0.8637.67 ▼4.79
Posts /wp-admin/edit.php2,100 ▼32.01 ▲0.0641.39 ▲0.5935.77 ▼0.69
Add New Post /wp-admin/post-new.php1,526 ▼323.06 ▼0.17674.94 ▲71.2358.12 ▲9.60
Media Library /wp-admin/upload.php1,403 ▼04.23 ▲0.0996.95 ▲0.3442.83 ▼1.21

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 5× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Interface 'Plugin' not found in wp-content/plugins/smntcs-utilities/lib/class-smush.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'Plugin' not found in wp-content/plugins/smntcs-utilities/lib/class-all-in-one-wp-migration.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'Plugin' not found in wp-content/plugins/smntcs-utilities/lib/class-elementor.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'Plugin' not found in wp-content/plugins/smntcs-utilities/lib/class-jetpack.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'Plugin' not found in wp-content/plugins/smntcs-utilities/lib/class-yoast.php:13

User-side errors Passed 1 test

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

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
4 plugin tags: remove bloat, remove ads, unbloater, utilities

smntcs-utilities/smntcs-utilities.php Passed 13 tests

The main file in "SMNTCS Utilities" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
69 characters long description:
A collection of custom snippets to unclutter the WordPress dashboard.

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 plugin812 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
YAML2840493
PHP748241152
JSON20068
XML1131451
Markdown131048

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity1.71
▷ Minimum class complexity1.00
▷ Maximum class complexity2.00
Average method complexity1.21
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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