Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.18ms] Passed 4 tests
Analyzing server-side resources used by DevVN - Trang trí Tết Việt Nam
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.38 ▼1.54 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.58 ▼1.87 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.67 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.06 ▼14.09 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.25 ▲0.56 |
Trang trí Tết /wp-admin/options-general.php?page=setting-tet-holiday | 3.31 | 34.85 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DevVN - Trang trí Tết Việt Nam
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,793 ▲1,047 | 13.53 ▼1.28 | 12.54 ▲10.66 | 58.01 ▲15.01 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼0.04 | 106.36 ▼2.76 | 42.42 ▼2.31 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 39.26 ▲0.53 | 37.31 ▲2.77 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 23.06 ▼0.14 | 663.74 ▼13.03 | 59.01 ▼5.56 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.06 | 97.21 ▼6.01 | 42.05 ▼14.42 |
Trang trí Tết /wp-admin/options-general.php?page=setting-tet-holiday | 1,342 | 3.13 | 46.03 | 115.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/devvn-tet-holiday/devvn-tet-holiday.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (screenshot-1.png), #2 (screenshot-2.png)
devvn-tet-holiday/devvn-tet-holiday.php 92% from 13 tests
The entry point to "DevVN - Trang trí Tết Việt Nam" version 1.0.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 165 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
Success! There were no dangerous files found in this plugin602 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 16 | 602 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 1.72MB with 1.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 386.18KB | 106.37KB | ▼ 72.46% |
screenshot-2.png | 103.10KB | 108.48KB | 0.00% |
images/bottom-2.png | 200.74KB | 53.63KB | ▼ 73.28% |
images/right-2.png | 97.19KB | 22.48KB | ▼ 76.87% |
images/left-5.png | 101.18KB | 24.53KB | ▼ 75.76% |