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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.64ms] Passed 4 tests
Analyzing server-side resources used by WP Contents Dynamic Display
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.34 ▼4.07 |
Dashboard /wp-admin | 3.36 ▲0.05 | 54.25 ▼1.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.37 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.43 ▼3.97 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 44.84 ▲10.82 |
All Dynamic Contents /wp-admin/edit.php?post_type=wpcdd | 3.34 | 45.86 |
Control Panel /wp-admin/admin.php?page=wpcdd_admin_menu_control_panel | 3.29 | 38.35 |
Instructions /wp-admin/admin.php?page=wpcdd_admin_menu_instruction | 3.29 | 38.10 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Contents Dynamic Display: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 14.27 ▼0.14 | 1.82 ▼0.13 | 40.39 ▼2.69 |
Dashboard /wp-admin | 2,252 ▲72 | 5.79 ▲0.15 | 88.07 ▼3.97 | 77.44 ▲40.36 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.39 ▲0.37 | 47.13 ▲1.40 | 36.83 ▼4.35 |
Add New Post /wp-admin/post-new.php | 1,571 ▲31 | 23.44 ▲0.13 | 736.98 ▲107.85 | 36.79 ▼10.56 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.48 ▲0.28 | 106.48 ▲0.01 | 67.85 ▲21.61 |
All Dynamic Contents /wp-admin/edit.php?post_type=wpcdd | 1,131 | 2.34 | 48.09 | 30.54 |
Control Panel /wp-admin/admin.php?page=wpcdd_admin_menu_control_panel | 934 | 1.92 | 26.49 | 35.25 |
Instructions /wp-admin/admin.php?page=wpcdd_admin_menu_instruction | 836 | 1.90 | 27.27 | 26.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Requires at least: Version format is invalid
wp-contents-dynamic-display/wp-contents-dynamic-display.php 92% from 13 tests
"WP Contents Dynamic Display" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 435 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
Good job! No executable or dangerous file extensions detected3,959 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 98 | 103 | 1,652 |
JavaScript | 2 | 188 | 103 | 955 |
SVG | 1 | 0 | 0 | 685 |
PHP | 17 | 152 | 572 | 667 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 2 | 4.65% |
▷ Private methods | 5 | 11.63% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
admin/assets/admin-icon.png | 1.39KB | 0.57KB | ▼ 59.27% |
admin/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
admin/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
admin/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |