Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼16.00ms] Passed 4 tests
Analyzing server-side resources used by WooReer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.59 ▲5.39 |
Dashboard /wp-admin | 3.35 ▼0.00 | 46.28 ▼16.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.28 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.62 ▼44.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.54 ▼0.99 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WooReer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.66 ▼0.09 | 1.81 ▲0.05 | 42.86 ▲0.79 |
Dashboard /wp-admin | 2,209 ▲24 | 4.88 ▼0.01 | 97.32 ▼9.52 | 36.77 ▼6.41 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.01 | 40.62 ▲5.97 | 33.88 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.24 ▼0.02 | 620.66 ▼60.22 | 51.24 ▼13.78 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.04 | 93.70 ▼8.07 | 40.79 ▼5.79 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected 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
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #7 in wcsdm/assets to your readme.txt
wcsdm/wcsdm.php 85% from 13 tests
This is the main PHP file of "WooReer" version 2.1.15, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "3.0.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin4,145 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 552 | 1,222 | 2,636 |
JavaScript | 4 | 297 | 107 | 1,222 |
CSS | 2 | 36 | 6 | 287 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 58.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 285.00 |
Average method complexity | 5.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 2 | 33.33% |
▷ Concrete classes | 4 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 5 | 6.85% |
▷ Public methods | 44 | 60.27% |
▷ Protected methods | 8 | 10.96% |
▷ Private methods | 21 | 28.77% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/marker.png | 2.49KB | 1.56KB | ▼ 37.47% |
assets/img/marker-lg.png | 36.97KB | 15.91KB | ▼ 56.96% |