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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.09ms] Passed 4 tests
Analyzing server-side resources used by StoreOne Extension
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.99 ▼1.21 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.17 ▼1.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.09 ▼6.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.04 ▼7.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.85 ▲5.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by StoreOne Extension
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.14 ▼0.10 | 1.99 ▲0.45 | 44.97 ▲2.92 |
Dashboard /wp-admin | 2,225 ▲45 | 5.66 ▲0.00 | 86.96 ▼2.73 | 43.09 ▲2.82 |
Posts /wp-admin/edit.php | 2,131 ▲34 | 2.02 ▲0.06 | 38.27 ▲1.69 | 35.97 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.72 ▲0.76 | 680.63 ▲30.56 | 55.58 ▲3.22 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.20 ▲0.02 | 114.13 ▲17.16 | 48.61 ▲2.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: storeone, storeone extension, testimonial, slider
storeone-extension/storeone-extension.php Passed 13 tests
The main file in "StoreOne Extension" v. 2.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
107 characters long description:
Advance Extension For StoreOne Theme. enjoy full functionality of StoreOne theme by installing this plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin594 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 31 | 572 |
JavaScript | 1 | 1 | 1 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected