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.02MB] [CPU: ▼6.44ms] Passed 4 tests
An overview of server-side resources used by Secudeal Payments for Ecommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 45.67 ▼4.01 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.79 ▼4.50 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.68 ▼2.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.78 ▼15.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.55 ▲3.01 |
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: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Secudeal Payments for Ecommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.21 ▼0.14 | 1.63 ▼0.18 | 43.66 ▼2.61 |
Dashboard /wp-admin | 2,198 ▲24 | 5.67 ▼0.00 | 88.31 ▼2.04 | 41.88 ▼3.44 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 36.84 ▲1.97 | 33.35 ▼6.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.04 ▼0.09 | 670.36 ▼14.29 | 51.05 ▲3.77 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.01 | 105.90 ▼0.40 | 47.36 ▲3.54 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
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 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
secudeal-payments-for-ecommerce/secudeal-woocommerce.php 77% from 13 tests
The main file in "Secudeal Payments for Ecommerce" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Name the main plugin file the same as the plugin slug ("secudeal-payments-for-ecommerce.php" instead of "secudeal-woocommerce.php")
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
No dangerous file extensions were detected267 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 82 | 20 | 257 |
CSS | 1 | 1 | 0 | 8 |
JavaScript | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin