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: ▲2.25ms] Passed 4 tests
An overview of server-side resources used by Single Page Shopping
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.60 ▼5.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.53 ▼1.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.66 ▲10.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.66 ▲11.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.15 ▲5.39 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Single Page Shopping
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.14 ▼1.61 | 2.04 ▲0.20 | 70.30 ▲26.06 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▲1.00 | 99.78 ▼4.04 | 45.55 ▼0.02 |
Posts /wp-admin/edit.php | 2,089 ▲18 | 2.05 ▲0.05 | 47.10 ▲9.95 | 48.60 ▲11.86 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.34 ▼5.93 | 738.46 ▲123.54 | 52.69 ▼3.30 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▲0.00 | 129.50 ▲28.62 | 63.76 ▲20.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/ajaxify-wc-shopping/settings/class-awcs-admin-settings.php:323
- > 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 87% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 47 tag instead of maximum 10
- Screenshots: A description for screenshot #2 is missing in ajaxify-wc-shopping/assets to your readme.txt
ajaxify-wc-shopping/ajaxify-woocommerce-shopping.php 85% from 13 tests
Analyzing the main PHP file in "Single Page Shopping" version 1.1.0
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("ajaxify-wc-shopping.php" instead of "ajaxify-woocommerce-shopping.php")
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
No dangerous file extensions were detected6,957 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 981 | 446 | 2,896 |
PHP | 17 | 1,112 | 744 | 2,624 |
CSS | 3 | 56 | 58 | 1,275 |
PO File | 1 | 57 | 64 | 162 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 46.80 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 6.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 54 | 59.34% |
▷ Public methods | 74 | 81.32% |
▷ Protected methods | 8 | 8.79% |
▷ Private methods | 9 | 9.89% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin