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.49MB] [CPU: ▼3.74ms] Passed 4 tests
Analyzing server-side resources used by CBX Next Previous Article
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 39.30 ▼8.50 |
Dashboard /wp-admin | 3.85 ▲0.55 | 56.93 ▼5.70 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 53.18 ▲0.39 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 95.08 ▼1.14 |
Media Library /wp-admin/upload.php | 3.71 ▲0.49 | 46.09 ▲10.72 |
CBX Next Previous /wp-admin/options-general.php?page=wpnextpreviouslink | 3.74 | 44.04 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 184 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
wpnextpreviouslink_postcats |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wpnextpreviouslink_ga |
wpnextpreviouslink_basics |
wpnextpreviouslink_tools |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for CBX Next Previous Article
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.27 ▼0.29 | 1.65 ▲0.00 | 41.69 ▲2.94 |
Dashboard /wp-admin | 2,202 ▲31 | 5.59 ▲0.06 | 83.79 ▼5.13 | 41.87 ▲2.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 34.10 ▼3.63 | 34.32 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.35 ▲0.30 | 685.49 ▲45.59 | 61.73 ▲8.46 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.17 ▲0.05 | 98.53 ▼9.54 | 41.65 ▼5.32 |
CBX Next Previous /wp-admin/options-general.php?page=wpnextpreviouslink | 2,103 | 3.80 | 70.68 | 102.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- db_upgraded
- wpnextpreviouslink_tools
- widget_theysaidso_widget
- theysaidso_admin_options
- wpnextpreviouslink_basics
- widget_recent-posts
- widget_recent-comments
- wpnextpreviouslink_ga
- wpnextpreviouslink_postcats
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in wpnextpreviouslink/assets to your readme.txt
wpnextpreviouslink/wpnextpreviouslink.php Passed 13 tests
"CBX Next Previous Article" version 2.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
WordPress Next Previous Article/Link
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected15,932 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 70 | 2,583 | 766 | 9,779 |
Sass | 32 | 735 | 88 | 3,257 |
PHP | 16 | 592 | 1,135 | 2,102 |
CSS | 10 | 118 | 7 | 751 |
SVG | 2 | 0 | 2 | 42 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 33.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 10 | 10.75% |
▷ Public methods | 86 | 92.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.53% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 5 | |
▷ Global constants | 5 | 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
39 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/l_arrow_round.png | 2.77KB | 1.88KB | ▼ 32.19% |
assets/images/l_arrow_green.png | 1.70KB | 1.49KB | ▼ 12.04% |
assets/images/l_custom.png | 0.87KB | 0.88KB | 0.00% |
assets/images/l_arrow_hover.png | 2.02KB | 1.83KB | ▼ 9.29% |
assets/images/l_sm_arrow_round.png | 1.09KB | 0.90KB | ▼ 17.28% |