Benchmarks
Plugin footprint Passed 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.20MB] [CPU: ▼293.24ms] Passed 4 tests
Server-side resources used by iPages Flipbook For WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.28 | 58.10 ▲3.93 |
Dashboard /wp-admin | 3.64 ▲0.23 | 35.67 ▲2.25 |
Posts /wp-admin/edit.php | 3.87 ▲0.23 | 39.20 ▲1.73 |
Add New Post /wp-admin/post-new.php | 7.11 ▲0.13 | 105.23 ▼1,177.66 |
Media Library /wp-admin/upload.php | 3.52 ▲0.22 | 24.61 ▲0.73 |
Settings /wp-admin/admin.php?page=ipages_flipbook_settings | 3.51 | 26.43 |
All Books /wp-admin/admin.php?page=ipages_flipbook | 3.71 | 26.57 |
Add New /wp-admin/admin.php?page=ipages_flipbook_item | 3.92 | 29.95 |
Server storage [IO: ▲8.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 404 new files
Database: 1 new table, no new options
New tables |
---|
wp_ipages_flipbook |
Browser metrics Passed 4 tests
A check of browser resources used by iPages Flipbook For WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲48 | 16.18 ▲0.47 | 6.18 ▲0.58 | 2.13 ▼0.56 |
Dashboard /wp-admin | 2,928 ▲67 | 6.09 ▼0.15 | 119.38 ▼13.75 | 157.59 ▼5.27 |
Posts /wp-admin/edit.php | 2,731 ▲37 | 3.24 ▼0.00 | 63.30 ▼3.52 | 138.38 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,694 ▲55 | 15.76 ▼4.76 | 413.56 ▼25.70 | 156.75 ▲4.27 |
Media Library /wp-admin/upload.php | 1,736 ▲41 | 5.55 ▲0.03 | 145.40 ▲3.05 | 184.58 ▲0.91 |
Settings /wp-admin/admin.php?page=ipages_flipbook_settings | 1,919 | 3.18 | 75.59 | 171.12 |
All Books /wp-admin/admin.php?page=ipages_flipbook | 1,396 | 2.70 | 57.49 | 143.67 |
Add New /wp-admin/admin.php?page=ipages_flipbook_item | 5,369 | 7.49 | 154.04 | 228.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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 everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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=ipages_flipbook_item
- > Javascript (warning) in unknown
/wp-content/plugins/ipages-flipbook/assets/js/lib/ipages/pdf.min.js?ver=1.4.4 0 The provided value 'moz-chunked-arraybuffer' is not a valid enum value of type XMLHttpRequestResponseType.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: pdf viewer, responsive design, flipbook from images, book with markers
ipages-flipbook/ipages.php 77% from 13 tests
The main file in "iPages Flipbook For WordPress" v. 1.4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ipages-flipbook.php" instead of "ipages.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 293 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Good job! No executable or dangerous file extensions detected5,952 lines of code in 393 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 468 | 221 | 2,819 |
SVG | 37 | 0 | 0 | 2,779 |
JavaScript | 334 | 1 | 10 | 347 |
CSS | 7 | 0 | 16 | 7 |
PHP code Passed 2 tests
An short overview of 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.25 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 67 | 98.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.47% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG files were detected