Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.60MB] [CPU: ▼3.05ms] Passed 4 tests
A check of server-side resources used by Authorized Store Seal
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.66 | 43.39 ▼1.08 |
Dashboard /wp-admin | 3.95 ▲0.60 | 54.44 ▼9.82 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 57.39 ▲5.16 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 97.09 ▼5.15 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 39.59 ▲3.84 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
cminds-authorized-store-last-update-info |
theysaidso_admin_options |
widget_authorizedstore_widget |
widget_recent-comments |
cminds-authorized-store-last-update-check |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Authorized Store Seal
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.31 ▲0.02 | 1.73 ▲0.03 | 47.02 ▲3.68 |
Dashboard /wp-admin | 2,214 ▲37 | 5.66 ▼0.01 | 91.96 ▲2.06 | 40.14 ▼0.94 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.04 ▲0.01 | 38.51 ▼1.11 | 35.51 ▼3.72 |
Add New Post /wp-admin/post-new.php | 1,567 ▲41 | 18.64 ▲0.98 | 616.85 ▼26.49 | 62.99 ▲11.43 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.31 ▲0.07 | 101.87 ▼0.86 | 43.89 ▲1.44 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- cminds-authorized-store-last-update-info
- widget_authorizedstore_widget
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- cminds-authorized-store-last-update-check
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/authorized-store-seal/views/settings.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/authorized-store-seal/widgets.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/authorized-store-seal/authorizedstore.php:196
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/authorized-store-seal/package/views/userguide_free.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/authorized-store-seal/package/cminds-plugin-config.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/authorized-store-seal/package/cminds-plugin-config.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% 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: merchant seal, authorized, authorized retailer, authorized store, trust seal
authorized-store-seal/authorizedstore.php 77% from 13 tests
The primary PHP file in "Authorized Store Seal" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("authorized-store-seal.php" instead of "authorizedstore.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin4,166 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 620 | 389 | 3,625 |
CSS | 1 | 87 | 0 | 541 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 91.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 200.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 4 | 3.74% |
▷ Public methods | 94 | 87.85% |
▷ Protected methods | 8 | 7.48% |
▷ Private methods | 5 | 4.67% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 2 | 18.18% |
▷ Class constants | 9 | 81.82% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
package/views/downloads.png | 4.54KB | 4.70KB | 0.00% |
package/views/faq.png | 7.42KB | 7.81KB | 0.00% |
package/views/tooltip.png | 4.56KB | 4.75KB | 0.00% |
package/views/WPmembership.png | 8.44KB | 3.59KB | ▼ 57.47% |
package/views/answers.png | 25.60KB | 9.50KB | ▼ 62.89% |