Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲1.75ms] Passed 4 tests
Analyzing server-side resources used by Pagination Test Drive
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 43.10 ▲1.34 |
Dashboard /wp-admin | 3.36 ▲0.05 | 52.53 ▲1.54 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.85 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 102.99 ▲3.91 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 41.80 ▲7.25 |
Pagination Test Drive /wp-admin/tools.php?page=pagination_test_drive | 3.27 | 31.59 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Pagination Test Drive
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.32 ▲0.17 | 1.69 ▼0.17 | 43.37 ▼2.56 |
Dashboard /wp-admin | 2,210 ▲4 | 5.88 ▲0.08 | 103.90 ▲1.26 | 41.75 ▲3.16 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.00 ▼0.02 | 41.02 ▲0.86 | 36.33 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 22.94 ▼0.51 | 652.94 ▲65.64 | 55.52 ▲2.49 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.26 ▲0.08 | 104.53 ▲8.92 | 45.82 ▲2.16 |
Pagination Test Drive /wp-admin/tools.php?page=pagination_test_drive | 944 | 2.03 | 23.90 | 32.44 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Pagination_Test_Drive::ptd_uninstall() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 50% 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
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 load_plugin_textdomain() in wp-content/plugins/pagination-test-drive/pagination-test-drive.php:33
- > 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 93% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Donate link: Invalid URI ("")
- Screenshots: Screenshot #1 (This is the initial screen.) image missing
pagination-test-drive/pagination-test-drive.php Passed 13 tests
The primary PHP file in "Pagination Test Drive" version 1.3.3 is used by WordPress to initiate all plugin functionality
72 characters long description:
You can test the pagination without having to post an article even once.
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
No dangerous file extensions were detected368 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 22 | 287 |
CSS | 1 | 10 | 10 | 81 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 61.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 7.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.44KB | 11.18KB | ▼ 56.06% |