Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.57ms] Passed 4 tests
A check of server-side resources used by Creates 3D Flipbook, PDF Flipbook in WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.21 ▼2.35 |
Dashboard /wp-admin | 3.34 ▲0.03 | 43.44 ▼5.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.56 ▲1.55 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 80.60 ▼4.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.65 ▲4.50 |
Fliperrr /wp-admin/admin.php?page=fliperrrlisting | 3.27 | 29.35 |
Create /wp-admin/admin.php?page=fliperrrsetting | 3.20 | 28.61 |
Server storage [IO: ▲6.11MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 99 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_flip_book_setting |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Creates 3D Flipbook, PDF Flipbook in WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲148 | 14.37 ▲0.11 | 1.82 ▼0.05 | 38.23 ▼13.15 |
Dashboard /wp-admin | 2,267 ▲76 | 6.30 ▲1.42 | 128.62 ▲12.14 | 77.30 ▲34.91 |
Posts /wp-admin/edit.php | 2,150 ▲61 | 2.86 ▲0.86 | 55.34 ▲18.42 | 31.81 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,721 ▲207 | 24.52 ▲6.88 | 678.09 ▼118.77 | 24.87 ▼34.40 |
Media Library /wp-admin/upload.php | 1,512 ▲121 | 5.64 ▲1.44 | 124.34 ▲28.74 | 57.34 ▲14.33 |
Fliperrr /wp-admin/admin.php?page=fliperrrlisting | 1,025 | 2.77 | 42.66 | 56.09 |
Create /wp-admin/admin.php?page=fliperrrsetting | 1,011 | 2.69 | 44.31 | 49.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fliperrrsetting
- > Warning in wp-content/plugins/create-flipbook-from-pdf/source/header.php+3
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/create-flipbook-from-pdf/source/copyright.php
- > /wp-content/plugins/create-flipbook-from-pdf/source/footer.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/create-flipbook-from-pdf/fliperrr.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/create-flipbook-from-pdf/source/nav_step.php:2
- > PHP Fatal error
Uncaught Error: Class 'fliperrr' not found in wp-content/plugins/create-flipbook-from-pdf/source/flipbook_admin_setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/create-flipbook-from-pdf/source/nav.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/create-flipbook-from-pdf/source/header.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=fliperrrsetting
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=fliperrrsetting 265:40 Uncaught TypeError: Cannot read properties of null (reading 'value')
- > GET request to /wp-admin/admin.php?page=fliperrrsetting
- > Javascript (severe) in unknown
/wp-content/plugins/create-flipbook-from-pdf/webroot/js/flip_dropzone.js?v=1785834620&ver=6.3.1 1065:12 Uncaught Error: No URL provided.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== create-flipbook-from-pdf ===
)
create-flipbook-from-pdf/fliperrr.php 92% from 13 tests
"Creates 3D Flipbook, PDF Flipbook in WordPress" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("create-flipbook-from-pdf.php" instead of "fliperrr.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin33,266 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 4,636 | 3,958 | 20,775 |
CSS | 11 | 167 | 350 | 7,994 |
SVG | 2 | 0 | 0 | 2,959 |
PHP | 7 | 137 | 139 | 1,538 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 76.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 10.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
webroot/images/flip_ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
webroot/images/flip_logo.png | 17.60KB | 13.43KB | ▼ 23.70% |
webroot/images/flip_ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
webroot/images/flip_ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
webroot/images/flip_view.png | 0.58KB | 0.58KB | ▼ 1.01% |