Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/pixatopress-lite/includes/plugpages.php+91
Undefined index: px_updateSettings
Server metrics [RAM: ▼1.89MB] [CPU: ▼60.06ms] Passed 4 tests
A check of server-side resources used by PixatoPress Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.35 | 4.47 ▼36.74 |
Dashboard /wp-admin | 2.13 ▼1.22 | 6.28 ▼58.52 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 6.57 ▼42.06 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 6.07 ▼102.90 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 6.39 ▼33.59 |
Settings /wp-admin/admin.php?page=pixato-settings | 2.13 | 5.72 |
PixatoPress Lite /wp-admin/admin.php?page=pixatopress-lite/index.php | 2.13 | 7.16 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
pixatoSettings |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
PixatoPress Lite: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 13.56 ▼0.51 | 4.32 ▲1.91 | 41.61 ▼2.35 |
Dashboard /wp-admin | 2,221 ▲50 | 5.65 ▼0.09 | 88.94 ▼1.87 | 87.16 ▲42.18 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.22 ▲0.19 | 38.75 ▼0.90 | 34.61 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,716 ▲190 | 22.70 ▼0.47 | 626.28 ▼57.79 | 52.30 ▼2.47 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.31 ▲0.07 | 98.68 ▼14.08 | 72.08 ▲18.07 |
Settings /wp-admin/admin.php?page=pixato-settings | 1,028 | 1.78 | 28.28 | 28.60 |
PixatoPress Lite /wp-admin/admin.php?page=pixatopress-lite/index.php | 1,347 | 3.14 | 46.50 | 95.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/pixatopress-lite/includes/plugpages.php+91
Undefined index: px_updateSettings
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Notice in wp-content/plugins/pixatopress-lite/includes/plugpages.php+91
Undefined index: px_updateSettings
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Notice in wp-content/plugins/pixatopress-lite/index.php+232
Undefined index: addWallpapers
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Warning in wp-content/plugins/pixatopress-lite/index.php+336
Use of undefined constant WPHP_VERSION - assumed 'WPHP_VERSION' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Warning in wp-content/plugins/pixatopress-lite/index.php+145
Use of undefined constant defaultContent - assumed 'defaultContent' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Warning in wp-content/plugins/pixatopress-lite/index.php+167
Use of undefined constant defaultNumOfTags - assumed 'defaultNumOfTags' (this will throw an Error in a future version of PHP)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Warning in wp-content/plugins/pixatopress-lite/index.php+188
Use of undefined constant defaultTagModifiers - assumed 'defaultTagModifiers' (this will throw an Error in a future version of PHP)
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pixatopress-lite/includes/plugsidebar.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant PX_URL - assumed 'PX_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/includes/plugsidebar.php on line 26
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pixatopress-lite/index.php on line 19
- > PHP Warning
Use of undefined constant PX_URL - assumed 'PX_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/includes/plugsidebar.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pixatopress-lite/index.php:45
- > PHP Notice
Undefined index: px_updateSettings in wp-content/plugins/pixatopress-lite/includes/plugpages.php on line 91
- > PHP Notice
Undefined index: px_updateSettings in wp-content/plugins/pixatopress-lite/includes/plugpages.php on line 91
- > PHP Warning
Use of undefined constant PX_URL - assumed 'PX_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/includes/plugsidebar.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/index.php on line 19
- > PHP Warning
Use of undefined constant PX_URL - assumed 'PX_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/includes/plugsidebar.php on line 27
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixatopress-lite/index.php on line 25
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/pixatopress-lite/assets/js/px_scripts.js?ver=WPHP_VERSION:14:33)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Network (severe)
http://www.angzhihuagong.com/ads/250x250_b.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pixatopress-lite/index.php
- > Network (severe)
wp-content/plugins/pixatopress-lite/assets/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (PixatoPress In Action) image not found
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== pixatopress-lite ===
)
pixatopress-lite/index.php 92% from 13 tests
The primary PHP file in "PixatoPress Lite" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pixatopress-lite.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin837 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 53 | 68 | 427 |
PHP | 3 | 106 | 51 | 375 |
JavaScript | 1 | 13 | 7 | 35 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/facebook.png | 8.75KB | 4.07KB | ▼ 53.41% |
images/youtube.png | 11.67KB | 4.23KB | ▼ 63.74% |
assets/css/images/facebook.png | 0.68KB | 0.55KB | ▼ 18.94% |
assets/css/images/bug.png | 0.97KB | 0.93KB | ▼ 3.94% |
assets/css/images/twitter.png | 0.67KB | 0.53KB | ▼ 20.53% |