Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼14.64ms] Passed 4 tests
Server-side resources used by Goodcarts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.42 ▼7.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.33 ▼8.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.87 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▼0.01 | 97.24 ▼44.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.05 ▲4.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
GC_Activated |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Goodcarts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.69 ▲0.34 | 1.98 ▲0.19 | 40.85 ▼12.79 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.05 | 93.80 ▼6.62 | 43.01 ▼3.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 39.82 ▲0.33 | 34.52 ▼6.73 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.23 ▲0.20 | 605.43 ▼76.21 | 61.38 ▲6.08 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.17 ▼0.07 | 96.84 ▼12.18 | 42.70 ▼7.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- GC_Activated
- theysaidso_admin_options
- widget_recent-comments
- 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)
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/goodcarts/goodcarts.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
goodcarts/goodcarts.php Passed 13 tests
The main PHP file in "Goodcarts" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Connect your woo-site with GoodCarts with this simple plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin407 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 61 | 322 |
Markdown | 1 | 47 | 0 | 85 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin