Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.57MB] [CPU: ▲0.90ms] Passed 4 tests
Analyzing server-side resources used by 3D FlipBook - PDF Flipbook WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 40.28 ▲0.09 |
Dashboard /wp-admin | 3.88 ▲0.58 | 50.30 ▲3.35 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 54.54 ▲5.84 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.61 | 89.56 ▼5.70 |
Media Library /wp-admin/upload.php | 3.74 ▲0.52 | 42.91 ▲9.08 |
Add New /wp-admin/post-new.php?post_type=3d-flip-book | 3.96 | 54.92 |
Categories /wp-admin/edit-tags.php?taxonomy=3d-flip-book-category&post_type=3d-flip-book | 3.74 | 37.50 |
All Books /wp-admin/edit.php?post_type=3d-flip-book | 3.79 | 38.08 |
Shortcode Generator /wp-admin/edit.php?post_type=3d-flip-book&page=3d-flip-book-shortcode-generator | 3.79 | 36.76 |
Server storage [IO: ▲5.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 257 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_fb3d_pages |
New WordPress options |
---|
widget_theysaidso_widget |
wp_fb3d_pages_version |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 3D FlipBook - PDF Flipbook WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲128 | 13.25 ▼1.05 | 1.66 ▼0.36 | 40.26 ▼10.68 |
Dashboard /wp-admin | 2,238 ▲50 | 5.82 ▼0.04 | 99.76 ▼2.47 | 38.58 ▲0.20 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.07 ▲0.06 | 38.61 ▼0.75 | 35.15 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,557 ▲37 | 21.32 ▼1.91 | 761.39 ▲91.58 | 55.40 ▼5.71 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.20 ▲0.01 | 94.17 ▼3.32 | 39.95 ▼9.39 |
Add New /wp-admin/post-new.php?post_type=3d-flip-book | 2,559 | 6.39 | 148.79 | 45.09 |
Categories /wp-admin/edit-tags.php?taxonomy=3d-flip-book-category&post_type=3d-flip-book | 1,294 | 2.13 | 27.90 | 27.66 |
All Books /wp-admin/edit.php?post_type=3d-flip-book | 1,107 | 2.00 | 30.39 | 29.81 |
Shortcode Generator /wp-admin/edit.php?post_type=3d-flip-book&page=3d-flip-book-shortcode-generator | 1,047 | 3.03 | 49.59 | 30.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_fb3d_pages
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- wp_fb3d_pages_version
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | 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
- 19× 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/interactive-3d-flipbook-powered-physics-engine/inc/taxonomy.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/shortcode.php:143
- > PHP Fatal error
require_once(): Failed opening required 'INCedit-save.php' (include_path='.:/usr/share/php') in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/edit.php on line 7
- > PHP Warning
Use of undefined constant INC - assumed 'INC' (this will throw an Error in a future version of PHP) in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/question.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/dictionary.php:22
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/index.php on line 43
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\register_activation_hook() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/install.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\plugin_dir_path() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/index.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/shortcode-generator.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function iberezansky\\fb3d\\add_action() in wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/inc/insert.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: pdf flipbook, pdf to flip book, pdf viewer, flipbook, flip book
interactive-3d-flipbook-powered-physics-engine/index.php 85% from 13 tests
Analyzing the main PHP file in "3D FlipBook - PDF Flipbook WordPress" version 1.15.2
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("interactive-3d-flipbook-powered-physics-engine.php" instead of "index.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin8,508 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 14 | 16 | 82 | 1,961 |
CSS | 7 | 176 | 31 | 1,929 |
PHP | 20 | 218 | 26 | 1,832 |
HTML | 1 | 14 | 0 | 115 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in 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 | 103 | |
▷ Named functions | 101 | 98.06% |
▷ Anonymous functions | 2 | 1.94% |
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
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.21MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/custom_rgb_r.png | 0.99KB | 0.74KB | ▼ 25.34% |
assets/images/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
assets/images/custom_submit.png | 0.97KB | 0.99KB | 0.00% |
assets/images/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |
assets/images/select2.png | 0.51KB | 0.33KB | ▼ 34.94% |