Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼5.52ms] Passed 4 tests
Analyzing server-side resources used by FancyPost - Best Ultimate Post Block, Post Grid, Layouts, Carousel, Slider For Gutenberg & Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 46.67 ▲4.85 |
Dashboard /wp-admin | 3.47 ▲0.16 | 46.94 ▼4.36 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 46.18 ▼5.04 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.00 ▼10.99 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.66 ▼1.67 |
Getting Started /wp-admin/admin.php?page=fancypost-init | 3.36 | 34.95 |
Settings /wp-admin/admin.php?page=fancypost_settings | 3.36 | 41.90 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
frhd-pb-plugin-settings |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FancyPost - Best Ultimate Post Block, Post Grid, Layouts, Carousel, Slider For Gutenberg & Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 13.52 ▼1.05 | 11.01 ▲9.18 | 43.78 ▲4.25 |
Dashboard /wp-admin | 2,247 ▲70 | 5.61 ▼0.07 | 82.99 ▼10.18 | 38.16 ▼2.60 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.04 ▲0.09 | 36.58 ▼2.29 | 32.82 ▼5.10 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,708 | 18.96 ▼4.04 | 910.95 ▲263.15 | 66.15 ▲16.53 |
Media Library /wp-admin/upload.php | 1,449 ▲52 | 4.18 ▼0.02 | 97.07 ▼6.72 | 43.52 ▼1.96 |
Getting Started /wp-admin/admin.php?page=fancypost-init | 1,746 | 9.17 | 327.12 | 528.55 |
Settings /wp-admin/admin.php?page=fancypost_settings | 1,041 | 2.04 | 25.29 | 47.10 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- frhd-pb-plugin-settings
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/post-block/src/block-post-cat/index.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/post-block/src/block-post-slider/index.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/post-block/src/block-post-trisec/index.php:6
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
post-block/post-block.php Passed 13 tests
"FancyPost - Best Ultimate Post Block, Post Grid, Layouts, Carousel, Slider For Gutenberg & Elementor" version 5.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
115 characters long description:
A beautiful post layouts block to showcase your posts in grid and list layout with multiple templates availability.
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,650 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 103 | 55 | 1,919 |
PHP | 17 | 324 | 258 | 1,576 |
JavaScript | 5 | 33 | 23 | 79 |
JSON | 4 | 0 | 0 | 76 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/img/wp-youtube-128.png | 2.26KB | 1.46KB | ▼ 35.51% |
src/img/faq-schema-128.png | 4.65KB | 3.30KB | ▼ 29.05% |
src/img/icon-128x128.png | 6.71KB | 4.24KB | ▼ 36.84% |
src/img/editorial-rating-128.png | 4.51KB | 3.12KB | ▼ 30.90% |