Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.45ms] Passed 4 tests
This is a short check of server-side resources used by PDF Flipbook, WPBakery Addon – Unreal FlipBook
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.57 ▼0.91 |
Dashboard /wp-admin | 3.40 ▲0.10 | 48.42 ▼9.72 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.87 ▲3.08 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.57 ▼9.92 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.73 ▲2.76 |
Shortcode Generator /wp-admin/edit.php?post_type=3d-flip-book&page=3d-flip-book-shortcode-generator | 3.37 | 32.13 |
Add New /wp-admin/post-new.php?post_type=3d-flip-book | 3.48 | 58.62 |
All Books /wp-admin/edit.php?post_type=3d-flip-book | 3.37 | 38.30 |
Categories /wp-admin/edit-tags.php?taxonomy=3d-flip-book-category&post_type=3d-flip-book | 3.32 | 35.49 |
Server storage [IO: ▲5.59MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 261 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_fb3d_pages |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
wp_fb3d_pages_version |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for PDF Flipbook, WPBakery Addon – Unreal FlipBook
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 13.25 ▼1.10 | 1.71 ▼0.17 | 43.53 ▼0.95 |
Dashboard /wp-admin | 2,258 ▲70 | 5.83 ▲0.94 | 103.56 ▼14.18 | 44.04 ▼1.16 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.03 ▼0.02 | 37.52 ▲2.27 | 36.32 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,586 ▲52 | 18.12 ▼5.03 | 599.38 ▼26.81 | 48.67 ▼8.08 |
Media Library /wp-admin/upload.php | 1,440 ▲61 | 4.26 ▲0.09 | 95.73 ▼6.49 | 41.36 ▼4.02 |
Shortcode Generator /wp-admin/edit.php?post_type=3d-flip-book&page=3d-flip-book-shortcode-generator | 1,064 | 2.92 | 55.85 | 33.15 |
Add New /wp-admin/post-new.php?post_type=3d-flip-book | 2,579 | 6.32 | 138.02 | 42.96 |
All Books /wp-admin/edit.php?post_type=3d-flip-book | 1,130 | 2.01 | 30.71 | 28.82 |
Categories /wp-admin/edit-tags.php?taxonomy=3d-flip-book-category&post_type=3d-flip-book | 1,317 | 2.31 | 27.98 | 27.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_fb3d_pages
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- wp_fb3d_pages_version
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/ajax-get.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/edit-save.php:271
- > PHP Warning
require_once(INCquestions.php): failed to open stream: No such file or directory in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/question.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\plugin_dir_path() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/index.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/shortcode.php:143
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/post.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/vc-integrate.php:5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/index.php on line 43
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/inc/dictionary.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\get_header() in wp-content/plugins/unreal-flipbook-addon-for-visual-composer/assets/templates/single-3d-flip-book.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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: pdf flipbook, wpbakery extension, pdf viewer, flipbook, flip book
unreal-flipbook-addon-for-visual-composer/index.php 85% from 13 tests
This is the main PHP file of "PDF Flipbook, WPBakery Addon – Unreal FlipBook" version 1.15.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("unreal-flipbook-addon-for-visual-composer.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin8,887 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 15 | 9 | 82 | 2,144 |
PHP | 20 | 220 | 25 | 2,021 |
CSS | 8 | 177 | 31 | 1,936 |
HTML | 1 | 14 | 0 | 115 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 1 | |
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 | 105 | |
▷ Named functions | 103 | 98.10% |
▷ Anonymous functions | 2 | 1.90% |
Constants | 28 | |
▷ Global constants | 28 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
27 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/select.png | 0.49KB | 0.33KB | ▼ 33.40% |
assets/images/custom_hex.png | 0.55KB | 0.39KB | ▼ 28.11% |
assets/images/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
assets/images/slider.png | 0.31KB | 1.51KB | 0.00% |
assets/images/custom_rgb_g.png | 1.04KB | 0.80KB | ▼ 23.67% |