Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.95ms] Passed 4 tests
Analyzing server-side resources used by ResProVis
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.95 ▼2.22 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.81 ▼1.56 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.16 ▲4.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 101.04 ▼0.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.04 ▲0.46 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_asp_weekdays_alloc |
wp_asp_weekdays |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
jal_db_version |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
ResProVis: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼25 | 13.16 ▼1.29 | 1.52 ▼0.58 | 41.61 ▼1.95 |
Dashboard /wp-admin | 2,206 ▲3 | 5.88 ▼0.03 | 117.24 ▲12.53 | 38.70 ▼4.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 44.22 ▲3.32 | 42.91 ▲7.41 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 23.52 ▲0.05 | 625.83 ▼9.10 | 41.91 ▼27.31 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.27 ▼0.01 | 99.33 ▼20.61 | 44.37 ▼2.23 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_asp_weekdays_alloc
- wp_asp_weekdays
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- jal_db_version
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× 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/resprovis/resprovis_shoppage_productfiltration.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resprovis/resprovis_weekdays_allocation.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/resprovis/resprovis_weekdays_allocation.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: week slots, woocommerce, custom product slot allocations, hide product visibility, resprovis...
resprovis/resprovis.php 77% from 13 tests
This is the main PHP file of "ResProVis" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires at least: The required version number did not match the one declared in readme.txt ("5.6" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin218 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 32 | 43 | 218 |
PHP code Passed 2 tests
A short review of 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.17 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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 files were detected