Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.38ms] Passed 4 tests
An overview of server-side resources used by Post Auto Vertical Scrolling
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.72 ▼6.38 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.80 ▼13.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.85 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.80 ▼21.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.70 ▲3.41 |
Settings /wp-admin/edit.php?post_type=post&page=pascs_settings | 3.20 | 30.85 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Auto Vertical Scrolling
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲149 | 13.78 ▼0.46 | 7.97 ▲6.15 | 38.07 ▼1.29 |
Dashboard /wp-admin | 2,198 ▲20 | 5.62 ▼0.05 | 87.24 ▼21.09 | 37.75 ▼10.04 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.04 | 38.99 ▲1.94 | 35.14 ▲2.36 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 25.26 ▲2.04 | 634.36 ▼57.99 | 71.40 ▲20.14 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.23 ▲0.04 | 95.14 ▼4.12 | 40.78 ▼3.05 |
Settings /wp-admin/edit.php?post_type=post&page=pascs_settings | 793 | 2.00 | 24.62 | 28.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-auto-vertical-scrolling/include/enqueue.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/post-auto-vertical-scrolling/index.php:12
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: any post, category, custom post
post-auto-vertical-scrolling/index.php 85% from 13 tests
The main PHP script in "Post Auto Vertical Scrolling" version 2.2 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 232 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-auto-vertical-scrolling.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
Success! There were no dangerous files found in this plugin169 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 4 | 18 | 116 |
JavaScript | 1 | 2 | 8 | 50 |
CSS | 3 | 0 | 1 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin