Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼142.01ms] Passed 4 tests
This is a short check of server-side resources used by lsmooth's Next Page Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 34.06 ▲14.39 |
Dashboard /wp-admin | 3.09 ▲0.03 | 49.75 ▲5.89 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.64 ▲1.91 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 87.08 ▼563.19 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 25.47 ▼12.64 |
lsmooth's Next Page Posts /wp-admin/options-general.php?page=lsmooths-next-page-posts/settings.php | 2.98 | 25.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for lsmooth's Next Page Posts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.81 ▲0.22 | 9.13 ▲0.73 | 49.23 ▲2.16 |
Dashboard /wp-admin | 2,972 ▲38 | 5.90 ▼0.04 | 135.04 ▼8.45 | 111.36 ▼4.79 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.80 ▲0.12 | 64.25 ▼3.09 | 84.39 ▼8.76 |
Add New Post /wp-admin/post-new.php | 1,503 ▼169 | 18.58 ▼0.19 | 360.82 ▲8.33 | 110.19 ▼2.34 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.02 | 149.00 ▼5.73 | 124.94 ▼3.16 |
lsmooth's Next Page Posts /wp-admin/options-general.php?page=lsmooths-next-page-posts/settings.php | 1,038 | 2.08 | 53.62 | 76.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=lsmooths-next-page-posts/settings.php
- > Notice in wp-content/plugins/lsmooths-next-page-posts/settings.php+69
Trying to access array offset on value of type bool
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: preview, pages, posts
lsmooths-next-page-posts/lsmooths_next_page_posts.php 85% from 13 tests
The main PHP script in "lsmooth's Next Page Posts" version 0.3.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("lsmooths-next-page-posts.php" instead of "lsmooths_next_page_posts.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin185 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 38 | 81 | 156 |
CSS | 1 | 7 | 12 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin