Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.46ms] Passed 4 tests
A check of server-side resources used by AspieSoft Ajax Load Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.19 ▲1.84 |
Dashboard /wp-admin | 3.39 ▲0.05 | 49.49 ▼13.15 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.58 ▲4.39 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 95.97 ▼16.07 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 37.05 ▲1.54 |
AspieSoft Ajax Load Page /wp-admin/options-general.php?page=aspiesoft-ajax-load-page | 3.33 | 33.28 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by AspieSoft Ajax Load Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.57 ▼0.72 | 4.96 ▲3.05 | 44.95 ▲0.99 |
Dashboard /wp-admin | 2,207 ▲22 | 4.86 ▼0.96 | 105.14 ▲2.22 | 42.64 ▲4.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 38.49 ▲0.33 | 35.17 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,527 ▼1 | 23.46 ▲4.93 | 649.90 ▲32.42 | 43.27 ▼7.78 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.35 ▲0.11 | 96.13 ▼8.53 | 39.30 ▼8.17 |
AspieSoft Ajax Load Page /wp-admin/options-general.php?page=aspiesoft-ajax-load-page | 878 | 2.08 | 64.09 | 35.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=aspiesoft-ajax-load-page
- > Notice in wp-content/plugins/aspiesoft-ajax-load-page/templates/admin.php+117
Undefined index: LOCAL_ADDR
- > GET request to /wp-admin/options-general.php?page=aspiesoft-ajax-load-page
- > Notice in wp-content/plugins/aspiesoft-ajax-load-page/templates/admin.php+117
Undefined index: LOCAL_PORT
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: performance, load, page, ajax
aspiesoft-ajax-load-page/aspiesoft-ajax-load-page.php Passed 13 tests
The entry point to "AspieSoft Ajax Load Page" version 1.2 is a PHP file that has certain tags in its header comment area
72 characters long description:
Easily lazy load another page simply by adding a shortcode with its url.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,455 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 170 | 107 | 582 |
JavaScript | 4 | 127 | 64 | 543 |
CSS | 4 | 21 | 5 | 330 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 12 | 35.29% |
▷ Public methods | 28 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.65% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected