Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.69ms] Passed 4 tests
Analyzing server-side resources used by Self Made Store
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 33.39 ▼4.66 |
Dashboard /wp-admin | 3.40 ▲0.05 | 42.86 ▼21.87 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.65 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.74 ▼5.67 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 34.92 ▲1.39 |
Self Made Store Settings /wp-admin/options-general.php?page=smstore-settings-page | 3.28 | 27.96 |
Add New /wp-admin/post-new.php?post_type=smstore-products | 3.44 | 47.72 |
All Products /wp-admin/edit.php?post_type=smstore-products | 3.36 | 34.68 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
smstore_options |
widget_smstore_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Self Made Store: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 14.47 ▲0.08 | 1.79 ▼0.01 | 40.16 ▼4.22 |
Dashboard /wp-admin | 2,237 ▲46 | 5.90 ▲1.00 | 112.19 ▲2.73 | 42.63 ▼2.14 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 1.99 ▼0.03 | 35.00 ▼3.40 | 31.47 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 17.47 ▼5.73 | 660.88 ▼19.97 | 52.33 ▼0.51 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.16 ▼0.11 | 99.19 ▲5.63 | 42.96 ▼2.61 |
Self Made Store Settings /wp-admin/options-general.php?page=smstore-settings-page | 840 | 2.03 | 24.96 | 24.90 |
Add New /wp-admin/post-new.php?post_type=smstore-products | 2,357 | 7.67 | 167.62 | 62.10 |
All Products /wp-admin/edit.php?post_type=smstore-products | 1,093 | 1.99 | 29.22 | 30.31 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_smstore_widget
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 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/self-made-store/self-made-store.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Screenshot of plugin settings page), #2 (Screenshot of plugin in action)
self-made-store/self-made-store.php Passed 13 tests
The principal PHP file in "Self Made Store" v. 3.1.1 is loaded by WordPress automatically on each request
55 characters long description:
Create a Self Made Store to display product information
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
Everything looks great! No dangerous files found in this plugin299 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 96 | 14 | 299 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin