Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/neeed-dynamic-websites/dynweb-pointer.php+15
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.39MB] [CPU: ▼0.47ms] Passed 4 tests
Analyzing server-side resources used by NEEED - Dynamic Websites
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 48.58 ▲10.47 |
Dashboard /wp-admin | 3.69 ▲0.39 | 56.39 ▲3.61 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 47.85 ▲0.38 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.41 | 83.19 ▼14.37 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 41.91 ▲8.50 |
Help /wp-admin/admin.php?page=dynweb-help | 3.58 | 37.40 |
New Rule /wp-admin/admin.php?page=dynweb-editrule | 3.58 | 48.08 |
Overview /wp-admin/admin.php?page=dynweb | 3.59 | 34.99 |
Settings /wp-admin/admin.php?page=dynweb-settings | 3.58 | 36.60 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_dynweb_rules |
wp_dynweb_conditions |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
dynweb-options |
widget_recent-posts |
widget_theysaidso_widget |
dynweb-version |
widget_recent-comments |
dynweb-meta-options |
theysaidso_admin_options |
Browser metrics 75% from 4 tests
A check of browser resources used by NEEED - Dynamic Websites
Having an awesome user experience is important, so please improve the following
- Script duration: Try to keep JavaScript execution under 1,500.00ms (currently 1,811.84ms on /wp-admin/admin.php?page=dynweb-help)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,096 ▲310 | 14.32 ▼0.41 | 19.85 ▲18.05 | 50.70 ▲9.43 |
Dashboard /wp-admin | 2,325 ▲148 | 4.95 ▼0.67 | 113.91 ▲28.38 | 51.79 ▲7.46 |
Posts /wp-admin/edit.php | 2,247 ▲147 | 2.54 ▲0.54 | 36.07 ▲2.30 | 32.34 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,653 ▲127 | 20.86 ▼2.40 | 699.74 ▲25.65 | 33.00 ▼26.04 |
Media Library /wp-admin/upload.php | 1,530 ▲127 | 4.59 ▲0.43 | 116.30 ▲17.69 | 50.55 ▲6.06 |
Help /wp-admin/admin.php?page=dynweb-help | 6,066 | 60.73 | 1,811.84 | 96.38 |
New Rule /wp-admin/admin.php?page=dynweb-editrule | 1,543 | 2.45 | 70.47 | 61.82 |
Overview /wp-admin/admin.php?page=dynweb | 989 | 2.00 | 35.46 | 49.92 |
Settings /wp-admin/admin.php?page=dynweb-settings | 996 | 2.01 | 42.44 | 31.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_dynweb_conditions
- wp_dynweb_rules
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- dynweb-meta-options
- dynweb-options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: dynamic content, conditional content, individual content, personalization, conversion optimization
neeed-dynamic-websites/neeed-dynamic-websites.php 92% from 13 tests
The principal PHP file in "NEEED - Dynamic Websites" v. 0.12.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,463 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 284 | 35 | 871 |
JavaScript | 5 | 120 | 10 | 424 |
CSS | 4 | 43 | 9 | 168 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.71 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.56 |
▷ 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 | 44 | |
▷ Static methods | 44 | 100.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
css/images/ui-icons_3b3b3b_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |