Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.49ms] 75% from 4 tests
This is a short check of server-side resources used by QSynced
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 2,231.58ms on /wp-admin/admin.php?page=qsynced)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.05 ▼2.54 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.41 ▼17.14 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 47.22 ▲4.45 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.03 ▼18.41 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 35.65 ▲0.15 |
E-mails /wp-admin/admin.php?page=qsynced-emails | 3.33 | 2,711.96 |
Settings /wp-admin/admin.php?page=qsynced-settings | 3.28 | 2,338.29 |
QSynced /wp-admin/admin.php?page=qsynced | 3.28 | 2,231.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_qsynced |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for QSynced
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 13.15 ▼1.22 | 1.71 ▼0.08 | 42.90 ▼1.59 |
Dashboard /wp-admin | 2,239 ▲51 | 4.90 ▼0.95 | 102.15 ▼6.29 | 37.60 ▼7.47 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.06 ▲0.01 | 40.40 ▲0.14 | 34.45 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,549 ▲7 | 23.12 ▲4.94 | 647.52 ▼6.89 | 51.38 ▼0.00 |
Media Library /wp-admin/upload.php | 1,418 ▲39 | 4.19 ▲0.01 | 95.22 ▼4.34 | 43.26 ▲1.13 |
E-mails /wp-admin/admin.php?page=qsynced-emails | 788 | 2.04 | 23.68 | 27.36 |
Settings /wp-admin/admin.php?page=qsynced-settings | 813 | 1.71 | 23.90 | 31.59 |
QSynced /wp-admin/admin.php?page=qsynced | 849 | 1.68 | 24.20 | 33.04 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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 fix the following items
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/qsynced/qsynced.php
- > /wp-content/plugins/qsynced/settings.php
- > /wp-content/plugins/qsynced/mail-template.php
- > /wp-content/plugins/qsynced/index.php
- > /wp-content/plugins/qsynced/mails.php
- > /wp-content/plugins/qsynced/home.php
- > /wp-content/plugins/qsynced/uninstall.php
- > /wp-content/plugins/qsynced/css.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: stock management, woocommerce addon, backorder
qsynced/qsynced.php Passed 13 tests
The main PHP script in "QSynced" version 1.2.2 is automatically included on every request by WordPress
93 characters long description:
Qsynced restores confidence in your consumers by offering security in the products they want.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin968 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 105 | 108 | 968 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
No PNG files were detected