Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼37.97ms] Passed 4 tests
A check of server-side resources used by Parcello
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.14 | 38.07 ▼13.59 |
Dashboard /wp-admin | 3.52 ▲0.10 | 379.28 ▼107.40 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.02 ▼10.75 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 88.67 ▼20.14 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 40.36 ▲5.11 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Parcello
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲113 | 14.69 ▲0.34 | 1.58 ▼0.40 | 42.27 ▼9.56 |
Dashboard /wp-admin | 2,254 ▲80 | 5.57 ▼0.09 | 88.30 ▲0.12 | 87.13 ▲44.18 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 1.96 ▼0.04 | 34.29 ▼5.35 | 37.33 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,563 ▲34 | 23.16 ▲0.06 | 654.33 ▲40.79 | 173.10 ▲108.53 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.10 ▼0.09 | 112.77 ▲7.96 | 67.13 ▲23.44 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
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
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
1 plugin tags: shipment tracking
parcello/parcello.php Passed 13 tests
Analyzing the main PHP file in "Parcello" version 1.0.6
50 characters long description:
Parcello let's your customers track their packages
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 plugin2,188 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 246 | 288 | 1,367 |
CSS | 1 | 117 | 3 | 500 |
PO File | 1 | 89 | 100 | 232 |
JavaScript | 1 | 17 | 1 | 76 |
SVG | 2 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 1 | 1.59% |
▷ Public methods | 51 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 19.05% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin