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
Install script ran successfully
Server metrics [RAM: ▼1.71MB] [CPU: ▼53.01ms] Passed 4 tests
Analyzing server-side resources used by Flipbook Catalog with Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.19 | 6.47 ▼34.22 |
Dashboard /wp-admin | 2.29 ▼1.01 | 9.03 ▼49.76 |
Posts /wp-admin/edit.php | 2.29 ▼1.06 | 9.91 ▼38.68 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.59 | 6.96 ▼89.38 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 9.02 ▼28.78 |
Categories /wp-admin/edit-tags.php?taxonomy=genre&post_type=catalog | 2.29 | 8.95 |
Catalog /wp-admin/edit.php?post_type=catalog | 2.29 | 11.82 |
Tags /wp-admin/edit-tags.php?taxonomy=writer&post_type=catalog | 2.29 | 8.11 |
Catalog settings /wp-admin/edit.php?post_type=catalog&page=flipbook-catalog-with-woocommerce-link/catalog.php | 2.29 | 10.69 |
Add New /wp-admin/post-new.php?post_type=catalog | 2.29 | 9.95 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flipbook Catalog with Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,103 ▲342 | 15.26 ▲0.52 | 4.98 ▲3.15 | 48.12 ▲2.66 |
Dashboard /wp-admin | 2,420 ▲223 | 6.27 ▲0.42 | 133.32 ▲22.29 | 41.09 ▲2.47 |
Posts /wp-admin/edit.php | 2,333 ▲233 | 3.35 ▲1.35 | 67.73 ▲29.04 | 30.62 ▼7.02 |
Add New Post /wp-admin/post-new.php | 1,575 ▲27 | 22.82 ▼0.17 | 606.88 ▼6.45 | 33.17 ▼46.35 |
Media Library /wp-admin/upload.php | 1,465 ▲65 | 4.31 ▲0.07 | 92.56 ▼24.34 | 46.62 ▼2.37 |
Categories /wp-admin/edit-tags.php?taxonomy=genre&post_type=catalog | 1,542 | 3.23 | 57.25 | 31.33 |
Catalog /wp-admin/edit.php?post_type=catalog | 1,311 | 3.31 | 52.18 | 31.30 |
Tags /wp-admin/edit-tags.php?taxonomy=writer&post_type=catalog | 1,514 | 3.22 | 44.96 | 27.14 |
Catalog settings /wp-admin/edit.php?post_type=catalog&page=flipbook-catalog-with-woocommerce-link/catalog.php | 728 | 1.53 | 7.69 | 22.68 |
Add New /wp-admin/post-new.php?post_type=catalog | 1,463 | 1.53 | 7.79 | 32.64 |
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
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- > GET request to /wp-admin/edit.php?post_type=catalog&page=flipbook-catalog-with-woocommerce-link/catalog.php
- > Warning in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+532
require_once(wp-content/plugins/wp_catalog/templates/admin-catalog-settings.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/edit.php?post_type=catalog&page=flipbook-catalog-with-woocommerce-link/catalog.php
- > Compile error in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+532
require_once(): Failed opening required 'wp-content/plugins/wp_catalog/templates/admin-catalog-settings.php' (include_path='.:/usr/share/php')
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Notice in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+234
Undefined index: numbpage
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Warning in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+235
Invalid argument supplied for foreach()
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Warning in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+230
require_once(wp-content/plugins/wp_catalog/templates/admin-catalog.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Compile error in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php+230
require_once(): Failed opening required 'wp-content/plugins/wp_catalog/templates/admin-catalog.php' (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/admin-catalog.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/catalog-list.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/admin-catalog-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/catalog.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/single-catalog.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/wishlist.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/flipbook-catalog-with-woocommerce-link/templates/catalog-shortcode.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/css/admin_catalogue.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/css/jquery.crayonbox.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/css/fontselector.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/css/colorpicker.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=writer&post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/js/admin.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=writer&post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/js/jquery.fontselector.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=writer&post_type=catalog
- > Network (severe)
wp-content/plugins/wp_catalog/js/colorpicker.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("www.pluginjs.com")
- Screenshots: Add an image for screenshot #1 (http://strikingtest.appsolutedev.com/catalog/4887/)
flipbook-catalog-with-woocommerce-link/catalog.php 85% from 13 tests
The main PHP script in "Flipbook Catalog with Woocommerce" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 212 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("flipbook-catalog-with-woocommerce-link.php" instead of "catalog.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 detected7,746 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 186 | 50 | 4,072 |
JavaScript | 4 | 232 | 94 | 3,237 |
CSS | 5 | 19 | 1 | 437 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
31 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/select.png | 0.49KB | 0.33KB | ▼ 33.40% |
images/colorpicker_hsb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |
images/settings.png | 2.15KB | 1.44KB | ▼ 33.05% |
images/colorpicker_hex.png | 0.52KB | 0.42KB | ▼ 19.92% |
images/book-effect-right.png | 1.41KB | 0.37KB | ▼ 73.51% |