Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.69ms] Passed 4 tests
Server-side resources used by Endless Posts Navigation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 49.45 ▲3.88 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.21 ▼9.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.61 ▼2.26 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.61 ▼12.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.09 ▲0.90 |
Endless Posts Navigation /wp-admin/options-general.php?page=endless_posts_navigation | 3.27 | 36.11 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Endless Posts Navigation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲99 | 13.46 ▼0.83 | 8.57 ▲6.40 | 41.65 ▼6.97 |
Dashboard /wp-admin | 2,206 ▲32 | 5.53 ▼0.08 | 85.26 ▼1.07 | 41.37 ▼0.52 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.02 ▲0.03 | 36.58 ▼4.35 | 32.62 ▼6.73 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.48 ▲0.24 | 597.47 ▼53.77 | 50.87 ▼7.88 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.18 ▼0.00 | 97.00 ▼9.27 | 43.91 ▼4.00 |
Endless Posts Navigation /wp-admin/options-general.php?page=endless_posts_navigation | 1,003 | 1.70 | 27.73 | 41.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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 following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/endless-posts-navigation/io/functions-inner.php:400
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: alphabetic, posts sorting, alphabetic navigation, alphabetic posts sorting, posts navigation...
endless-posts-navigation/index.php 92% from 13 tests
The main PHP file in "Endless Posts Navigation" ver. 2.2.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("endless-posts-navigation.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,044 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 1,747 | 525 | 2,630 |
CSS | 3 | 187 | 5 | 244 |
PO File | 3 | 42 | 42 | 163 |
JavaScript | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 23.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 145 | |
▷ Static methods | 62 | 42.76% |
▷ Public methods | 142 | 97.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.07% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 32 | |
▷ Global constants | 32 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
io/sample.png | 9.60KB | 0.75KB | ▼ 92.18% |