79% wp-system

Code Review | WP System

WordPress plugin WP System scored79%from 54 tests.

About plugin

  • Plugin page: wp-system
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Mar 20, 2019
  • Latest release: Oct 13, 2023
  • Number of updates: 19
  • Update frequency: every 91.2 days
  • Top authors: mikeyott (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,168 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

Server-side resources used by WP System
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.55 ▼3.60
Dashboard /wp-admin3.31 ▲0.0144.57 ▼11.87
Posts /wp-admin/edit.php3.36 ▲0.0144.41 ▼2.62
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.75 ▼5.45
Media Library /wp-admin/upload.php3.24 ▲0.0136.83 ▲4.66
WP System /wp-admin/tools.php?page=wp-system3.63494.95

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for WP System
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.36 ▲0.021.59 ▼0.1839.37 ▼8.19
Dashboard /wp-admin2,201 ▲245.59 ▼0.0484.50 ▼17.0339.59 ▼3.54
Posts /wp-admin/edit.php2,106 ▲92.02 ▲0.0337.58 ▼0.2936.91 ▲3.84
Add New Post /wp-admin/post-new.php1,540 ▲523.05 ▲4.71657.00 ▲33.0653.61 ▼11.49
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.0094.54 ▼2.5740.80 ▼3.04
WP System /wp-admin/tools.php?page=wp-system2,1001.6726.3452.06

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
    • > GET request to /wp-admin/tools.php?page=wp-system
    • > Notice in wp-content/plugins/wp-system/report.php+619
    Undefined variable: post_max_size_num
    • > GET request to /wp-admin/tools.php?page=wp-system
    • > Warning in wp-content/plugins/wp-system/report.php+619
    A non-numeric value encountered
    • > GET request to /wp-admin/tools.php?page=wp-system
    • > Notice in wp-content/plugins/wp-system/report.php+1150
    Undefined index: HTTP_ACCEPT_LANGUAGE

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 errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-system/wp-system.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: environment, troubleshooting, system, settings

wp-system/wp-system.php Passed 13 tests

The main PHP file in "WP System" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
71 characters long description:
Easily spot issues with your WordPress environment and server settings.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,692 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PO File45045201,396
PHP4105761,292
SVG3003
CSS1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions26
▷ Named functions26100.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
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/matt.png19.95KB15.28KB▼ 23.38%
images/adriano.png20.62KB15.07KB▼ 26.91%