89% store-toolkit-for-wp-e-commerce

Code Review | WP e-Commerce - Store Toolkit

WordPress plugin WP e-Commerce - Store Toolkit scored89%from 54 tests.

About plugin

  • Plugin page: store-toolkit-for...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.2-3.9.1
  • WordPress version: 6.3.1
  • First release: Aug 10, 2011
  • Latest release: May 12, 2014
  • Number of updates: 17
  • Update frequency: every 60.1 days
  • Top authors: visser (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,126 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by WP e-Commerce - Store Toolkit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.06 ▼7.73
Dashboard /wp-admin3.31 ▲0.0047.36 ▼2.94
Posts /wp-admin/edit.php3.36 ▲0.0047.90 ▼1.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.99 ▼8.99
Media Library /wp-admin/upload.php3.23 ▲0.0038.53 ▲2.61

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

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

Browser metrics Passed 4 tests

Checking browser requirements for WP e-Commerce - Store Toolkit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.62 ▼0.781.70 ▼0.1940.49 ▼7.77
Dashboard /wp-admin2,206 ▲155.76 ▲0.88101.65 ▼4.9740.76 ▼3.39
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0334.45 ▼2.0736.49 ▲3.39
Add New Post /wp-admin/post-new.php1,533 ▼023.03 ▼0.20688.65 ▲61.2555.16 ▲0.13
Media Library /wp-admin/upload.php1,388 ▼04.19 ▼0.0697.06 ▼7.2144.49 ▼2.93

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 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
5 plugin tags: shop, cart, wp-e-commerce, ecommerce, e-commerce

store-toolkit-for-wp-e-commerce/store-toolkit.php 85% from 13 tests

The main PHP script in "WP e-Commerce - Store Toolkit" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("store-toolkit-for-wp-e-commerce.php" instead of "store-toolkit.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 161 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1092

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin