Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.26ms] Passed 4 tests
This is a short check of server-side resources used by Sync Snapp Ecommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.52 ▼7.50 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.28 ▼10.84 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.34 ▲0.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.08 ▼11.06 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.42 ▲3.68 |
Sync Snapp /wp-admin/options-general.php?page=snapp-ecommerce | 3.20 | 33.38 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
snapp_ecommerce_key |
theysaidso_admin_options |
snapp_ecommerce_number_of_rows |
Browser metrics Passed 4 tests
A check of browser resources used by Sync Snapp Ecommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.77 ▼0.61 | 1.89 ▼0.11 | 41.63 ▼2.21 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.86 | 103.01 ▼46.59 | 40.34 ▼6.71 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.05 | 40.68 ▼0.04 | 35.20 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.46 ▼5.97 | 671.58 ▼0.91 | 64.81 ▲8.06 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.16 ▼0.04 | 96.46 ▼8.16 | 42.39 ▼1.17 |
Sync Snapp /wp-admin/options-general.php?page=snapp-ecommerce | 817 | 2.02 | 24.19 | 53.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- snapp_ecommerce_number_of_rows
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- snapp_ecommerce_key
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=snapp-ecommerce
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=snapp-ecommerce
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sync-snapp-ecommerce/sync-snapp-ecommerce.php:95
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: woocommerce, snappfood
sync-snapp-ecommerce/sync-snapp-ecommerce.php Passed 13 tests
The main PHP file in "Sync Snapp Ecommerce" ver. 1.5.0 adds more information about the plugin and also serves as the entry point for this plugin
38 characters long description:
>- Sync products with Snapp Ecommerce.
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
No dangerous file extensions were detected120 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 7 | 120 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin