Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.22ms] Passed 4 tests
This is a short check of server-side resources used by Fast Page Switch
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.84 ▼2.87 |
Dashboard /wp-admin | 3.36 ▲0.02 | 54.93 ▼11.47 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.12 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.04 ▼6.43 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.23 ▲6.45 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Fast Page Switch
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.18 ▼0.21 | 1.64 ▼1.05 | 42.97 ▼0.82 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.02 | 95.72 ▲2.39 | 43.71 ▲3.13 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.08 ▲0.05 | 35.43 ▲0.52 | 35.43 ▲0.53 |
Add New Post /wp-admin/post-new.php | 6,483 ▲4,948 | 27.93 ▲9.66 | 1,066.37 ▲442.87 | 67.60 ▼0.93 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.32 ▲0.15 | 112.83 ▲12.93 | 47.00 ▲0.63 |
Fast Page Switch /wp-admin/options-general.php?page=Fast Page Switch | 906 | 2.00 | 21.79 | 26.27 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fast-page-switch/fps-admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== fast-page-switch ===
) - Tags: You are using too many tags: 13 tag instead of maximum 10
fast-page-switch/fast-page-switch.php Passed 13 tests
The main PHP script in "Fast Page Switch" version 1.5.8 is automatically included on every request by WordPress
63 characters long description:
Save time switching between posts of any post-type in wp-admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin866 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 12 | 0 | 420 |
PHP | 4 | 80 | 93 | 398 |
JavaScript | 48 | 47 | 48 | 48 |
PHP code Passed 2 tests
A brief analysis 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.25 |
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 | 13 | |
▷ Named functions | 13 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin