Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.23MB] [CPU: ▲23.89ms] 75% from 4 tests
Analyzing server-side resources used by News & Blog Designer Pack – WordPress Blog Plugin -- (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post Ticker, Blog Post Masonry)
The following require your attention
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.23MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.93 ▲5.47 | 63.72 ▲26.95 |
Dashboard /wp-admin | 8.95 ▲5.61 | 77.55 ▲15.81 |
Posts /wp-admin/edit.php | 8.95 ▲5.60 | 83.25 ▲38.16 |
Add New Post /wp-admin/post-new.php | 10.13 ▲4.24 | 114.16 ▲14.63 |
Media Library /wp-admin/upload.php | 8.95 ▲5.72 | 74.57 ▲38.85 |
Shortcode Preview /wp-admin/admin.php?page=bdp-shortcode-preview | 8.95 | 55.88 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.95 | 68.15 |
Server storage [IO: ▲3.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 257 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_accounts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_bdp_post_scrolling_widget |
fs_debug_mode |
widget_recent-posts |
fs_active_plugins |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for News & Blog Designer Pack – WordPress Blog Plugin -- (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post Ticker, Blog Post Masonry)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.21 ▼0.43 | 1.57 ▼0.10 | 27.12 ▼16.29 |
Dashboard /wp-admin | 2,233 ▲59 | 5.60 ▲0.09 | 93.56 ▼3.60 | 43.71 ▼0.60 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.01 ▲0.06 | 40.89 ▼0.21 | 39.22 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 22.66 ▼0.56 | 625.75 ▼73.25 | 57.73 ▲3.64 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.14 ▼0.05 | 97.41 ▼20.16 | 43.28 ▼6.08 |
Shortcode Preview /wp-admin/admin.php?page=bdp-shortcode-preview | 132 | 1.59 | 14.48 | 0.12 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,087 | 1.66 | 26.15 | 30.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/blog-designer-pack/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 11 options in the database
- widget_theysaidso_widget
- fs_accounts
- fs_debug_mode
- widget_bdp_post_scrolling_widget
- widget_recent-posts
- can_compress_scripts
- fs_active_plugins
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 26 tag instead of maximum 10
blog-designer-pack/blog-designer-pack.php Passed 13 tests
Analyzing the main PHP file in "News & Blog Designer Pack – WordPress Blog Plugin -- (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post Ticker, Blog Post Masonry)" version 3.4.3
115 characters long description:
Display blog posts on your website with 6 blog layouts (2 designs for each blog layout) plus 1 Ticker and 2 Widgets
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin42,547 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 150 | 8,787 | 18,100 | 39,265 |
PO File | 8 | 783 | 1,975 | 2,008 |
JavaScript | 10 | 186 | 134 | 730 |
CSS | 16 | 40 | 85 | 330 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 81.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 2 | 3.51% |
▷ Concrete classes | 55 | 96.49% |
▷ Final classes | 0 | 0.00% |
Methods | 1,312 | |
▷ Static methods | 199 | 15.17% |
▷ Public methods | 912 | 69.51% |
▷ Protected methods | 17 | 1.30% |
▷ Private methods | 383 | 29.19% |
Functions | 137 | |
▷ Named functions | 137 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.08MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/getinstarted/timeline.png | 4.36KB | 0.45KB | ▼ 89.60% |
assets/images/ticker-arrows.png | 1.42KB | 0.60KB | ▼ 57.85% |
assets/images/getinstarted/carousel.png | 4.28KB | 0.54KB | ▼ 87.41% |
assets/images/getinstarted/masonry.png | 4.51KB | 0.47KB | ▼ 89.66% |
assets/images/getinstarted/list-alt.png | 3.16KB | 0.26KB | ▼ 91.80% |