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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by mi13-access-by-link
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.24 ▼4.58 |
Dashboard /wp-admin | 3.36 ▲0.02 | 44.35 ▼13.42 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.16 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 81.45 ▼10.64 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.90 ▲2.61 |
mi13 access by link /wp-admin/options-general.php?page=mi13_access_by_link | 3.25 | 31.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
mi13_access_by_link |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
mi13-access-by-link: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.34 ▼0.37 | 1.73 ▲0.05 | 37.42 ▼6.10 |
Dashboard /wp-admin | 2,199 ▲21 | 5.60 ▼0.09 | 91.29 ▼14.87 | 38.19 ▼11.70 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.96 ▲0.00 | 40.92 ▲3.43 | 35.92 ▼0.03 |
Add New Post /wp-admin/post-new.php | 6,224 ▲4,698 | 26.21 ▲2.99 | 933.44 ▲299.18 | 57.03 ▼2.48 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▲0.07 | 100.62 ▼0.78 | 43.13 ▲0.70 |
mi13 access by link /wp-admin/options-general.php?page=mi13_access_by_link | 888 | 1.99 | 24.30 | 28.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #1 in mi13-access-by-link/assets to your readme.txt
mi13-access-by-link/mi13-access-by-link.php Passed 13 tests
The principal PHP file in "mi13-access-by-link" v. 1.1 is loaded by WordPress automatically on each request
39 characters long description:
Access to your posts (pending) by link.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin317 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 19 | 258 |
PO File | 1 | 17 | 18 | 59 |
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.27 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin