Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.13ms] Passed 4 tests
This is a short check of server-side resources used by Simplistic page navi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.23 ▲0.01 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.90 ▼2.52 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.02 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.81 ▼5.85 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.98 ▲3.53 |
Simplistic Page-navi Option /wp-admin/options-general.php?page=splcpn_plugin_options | 3.36 | 31.31 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
splcpn_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simplistic page navi
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.32 ▼0.20 | 1.49 ▼0.20 | 38.69 ▼4.10 |
Dashboard /wp-admin | 2,202 ▲21 | 5.64 ▲0.05 | 82.04 ▼20.83 | 37.98 ▼6.14 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.01 | 33.74 ▼2.47 | 33.57 ▼4.21 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.22 ▼0.57 | 670.74 ▼26.56 | 52.94 ▲0.38 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.05 | 96.14 ▼4.15 | 42.50 ▼3.21 |
Simplistic Page-navi Option /wp-admin/options-general.php?page=splcpn_plugin_options | 1,299 | 2.00 | 22.07 | 31.93 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/simplistic-page-navi/js_output.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: inope in wp-content/plugins/simplistic-page-navi/js_output.php on line 90
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simplistic-page-navi/explain.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simplistic-page-navi/simplistic_pagenavi.php:84
- > PHP Notice
Undefined variable: target in wp-content/plugins/simplistic-page-navi/js_output.php on line 82
- > PHP Notice
Undefined variable: target in wp-content/plugins/simplistic-page-navi/js_output.php on line 75
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplistic-page-navi/js_output.php on line 108
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplistic-page-navi/js_output.php on line 82
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplistic-page-navi/js_output.php on line 90
- > PHP Notice
Undefined variable: inope in wp-content/plugins/simplistic-page-navi/js_output.php on line 108
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/simplistic-page-navi/js_output.php on line 75
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
- Screenshots: Add images for these screenshots: #1 (page list styling samples.), #2 (reverse list and minimum list.), #3 (Option page english.)
simplistic-page-navi/simplistic_pagenavi.php 85% from 13 tests
The main PHP script in "Simplistic page navi" version 5.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("simplistic-page-navi.php" instead of "simplistic_pagenavi.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,617 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 162 | 108 | 928 |
PO File | 1 | 78 | 196 | 321 |
CSS | 6 | 47 | 57 | 259 |
JavaScript | 1 | 10 | 79 | 94 |
JSON | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 5.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 63.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 36.84% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin