Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.46ms] Passed 4 tests
A check of server-side resources used by PmZez Ajax Page Loader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.28 ▼5.25 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.46 ▼3.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.34 ▲4.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.16 ▼10.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.78 ▲1.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by PmZez Ajax Page Loader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲242 | 13.86 ▼0.96 | 6.73 ▲4.98 | 42.30 ▼6.46 |
Dashboard /wp-admin | 2,233 ▲45 | 5.00 ▲0.09 | 102.65 ▼12.54 | 40.20 ▼7.38 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.31 ▲0.28 | 40.33 ▲4.66 | 33.49 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 17.76 ▲0.20 | 691.68 ▲23.71 | 35.52 ▼12.65 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.49 ▲0.27 | 98.07 ▼12.56 | 41.42 ▼4.62 |
PmZez Page Loader /wp-admin/pmzez-page-loader.php | 26 | 0.44 | 0.13 | 15.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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/pmzez-page-loader/myfunction.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/pmzez-page-loader/myfunction.php:16
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/pmzez-page-loader.php
- > Network (severe)
wp-admin/pmzez-page-loader.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (PmZez Page Loader work all page Example - 1.), #2 (PmZez Page Loader work all page Example - 2 .)
pmzez-page-loader/myfunction.php 85% from 13 tests
"PmZez Ajax Page Loader" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pmzez-page-loader.php" instead of "myfunction.php")
- Description: Keep the plugin description shorter than 140 characters (currently 176 characters long)
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
There were no executable files found in this plugin413 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 100 | 108 | 281 |
PHP | 1 | 21 | 25 | 82 |
CSS | 1 | 11 | 3 | 50 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin