Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.05ms] Passed 4 tests
This is a short check of server-side resources used by Floating NextPrev
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.21 ▼1.65 |
Dashboard /wp-admin | 3.37 ▲0.02 | 47.38 ▼12.55 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 42.94 ▼7.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.18 ▼26.72 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.85 ▲2.66 |
Floating NextPrev /wp-admin/options-general.php?page=floating-nextprev | 3.26 | 29.29 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
floating_nextprev |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Floating NextPrev: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼1.49 | 1.81 ▲0.09 | 44.33 ▲2.33 |
Dashboard /wp-admin | 2,207 ▲19 | 5.95 ▲1.04 | 98.61 ▼9.52 | 38.46 ▼3.91 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.01 | 35.85 ▼5.60 | 32.89 ▼2.53 |
Add New Post /wp-admin/post-new.php | 1,529 ▲15 | 23.31 ▲5.81 | 639.62 ▲20.13 | 66.16 ▲11.34 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▲0.05 | 99.43 ▲0.88 | 46.41 ▼0.80 |
Floating NextPrev /wp-admin/options-general.php?page=floating-nextprev | 854 | 2.07 | 27.05 | 33.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: navigation, jquery, floating
floating-nextprev/floating-nextprev.php Passed 13 tests
"Floating NextPrev" version 2.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
71 characters long description:
Displays icons for navigation between your posts so practical and fast.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin605 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 76 | 203 | 312 |
Sass | 1 | 48 | 0 | 234 |
JavaScript | 2 | 8 | 3 | 58 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 3 | 18.75% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
11 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/admin/likefbred.png | 3.15KB | 3.13KB | ▼ 0.56% |
assets/images/admin/likefbgray.png | 3.16KB | 3.15KB | 0.31% |
assets/images/admin/likefbgreen.png | 3.16KB | 3.14KB | ▼ 0.59% |
assets/images/frontend/arrow-left.png | 0.43KB | 0.43KB | 0.00% |
assets/images/admin/btnblue.png | 3.17KB | 3.16KB | ▼ 0.52% |