Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.00ms] Passed 4 tests
A check of server-side resources used by Edit WooCommerce Templates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 34.56 ▼6.39 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.82 ▼3.94 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.83 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.92 ▼9.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 34.03 ▼0.66 |
Server storage [IO: ▲0.04MB] [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: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Edit WooCommerce Templates
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 14.75 ▲0.11 | 1.78 ▼0.05 | 40.60 ▼0.57 |
Dashboard /wp-admin | 2,228 ▲40 | 4.89 ▼0.01 | 108.98 ▲2.52 | 44.63 ▲5.78 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.05 ▲0.00 | 40.82 ▲3.69 | 43.24 ▲8.20 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 17.68 ▼5.50 | 658.97 ▼100.10 | 56.33 ▲5.46 |
Media Library /wp-admin/upload.php | 1,413 ▲31 | 4.21 ▲0.01 | 98.25 ▲3.53 | 44.13 ▼0.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid url: ""
woo-edit-templates/woo-edit-templates.php Passed 13 tests
The main PHP script in "Edit WooCommerce Templates" version 1.1.1 is automatically included on every request by WordPress
76 characters long description:
The plugin helps you edit WooCommerce templates files for your Current Theme
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
Good job! No executable or dangerous file extensions detected597 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 177 | 310 | 565 |
JavaScript | 1 | 0 | 0 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 42 | |
▷ Static methods | 13 | 30.95% |
▷ Public methods | 36 | 85.71% |
▷ Protected methods | 1 | 2.38% |
▷ Private methods | 5 | 11.90% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin