Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼31.91ms] Passed 4 tests
Server-side resources used by Ultimate PDF Flipbooks | Flip Books Made Easy!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.69 ▼3.12 |
Dashboard /wp-admin | 3.05 ▼0.25 | 25.95 ▼23.12 |
Posts /wp-admin/edit.php | 3.05 ▼0.30 | 23.53 ▼25.19 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.83 | 25.89 ▼68.76 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 25.95 ▼10.57 |
Flip Books /wp-admin/edit.php?post_type=flipbook | 3.06 | 24.62 |
Shortcode Generator /wp-admin/edit.php?post_type=flipbook&page=shortcode-page | 3.06 | 23.85 |
Add new Book /wp-admin/post-new.php?post_type=flipbook | 3.05 | 22.97 |
Server storage [IO: ▲2.86MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
upfb_admin_notice |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate PDF Flipbooks | Flip Books Made Easy!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.45 ▼0.86 | 4.30 ▲2.59 | 37.91 ▼9.61 |
Dashboard /wp-admin | 2,244 ▲59 | 4.87 ▼0.18 | 107.84 ▲0.99 | 43.37 ▼3.05 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.04 ▲0.03 | 35.85 ▼1.00 | 33.43 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 17.78 ▲0.17 | 713.10 ▲15.60 | 59.18 ▲5.58 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.21 ▼0.00 | 101.68 ▲1.97 | 43.75 ▲0.96 |
Flip Books /wp-admin/edit.php?post_type=flipbook | 1,088 | 2.01 | 36.08 | 32.52 |
Shortcode Generator /wp-admin/edit.php?post_type=flipbook&page=shortcode-page | 1,112 | 1.67 | 21.81 | 31.95 |
Add new Book /wp-admin/post-new.php?post_type=flipbook | 2,246 | 7.53 | 171.17 | 65.14 |
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
The following items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- upfb_admin_notice
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=flipbook
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/post-new.php?post_type=flipbook
- > Notice in wp-content/plugins/ultimate-pdf-flipbooks-flip-books-made-easy/flipPDF.php+341
Undefined index: pdf_upload_nonce
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultimate-pdf-flipbooks-flip-books-made-easy/includes/essential/upload.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ultimate-pdf-flipbooks-flip-books-made-easy/fpdf_template.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/ultimate-pdf-flipbooks-flip-books-made-easy/settings.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/ultimate-pdf-flipbooks-flip-books-made-easy/flipPDF.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
8 plugin tags: pdf, pdf to flip book, flipbook, pdf with animation, flowpaper...
ultimate-pdf-flipbooks-flip-books-made-easy/flipPDF.php 85% from 13 tests
This is the main PHP file of "Ultimate PDF Flipbooks | Flip Books Made Easy!" version 3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 189 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("ultimate-pdf-flipbooks-flip-books-made-easy.php" instead of "flipPDF.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected46,718 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 4,815 | 3,904 | 46,057 |
PHP | 4 | 431 | 45 | 566 |
CSS | 2 | 3 | 10 | 95 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin