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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.18ms] Passed 4 tests
A check of server-side resources used by Access
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 49.88 ▼2.15 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.45 ▼3.94 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.61 ▼6.83 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 92.40 ▼11.78 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 41.24 ▲1.82 |
Access /wp-admin/edit-tags.php?taxonomy=access&post_type=page | 3.27 | 35.69 |
Access /wp-admin/edit-tags.php?taxonomy=access&post_type=attachment | 3.27 | 34.29 |
Access /wp-admin/edit-tags.php?taxonomy=access | 3.27 | 34.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Access
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 13.27 ▼1.48 | 1.84 ▼0.50 | 39.89 ▼6.30 |
Dashboard /wp-admin | 2,236 ▲30 | 5.88 ▼0.02 | 105.58 ▼3.90 | 44.05 ▲5.07 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.97 ▼0.06 | 38.48 ▼3.97 | 36.61 ▼6.54 |
Add New Post /wp-admin/post-new.php | 1,554 ▲9 | 23.19 ▼0.05 | 601.57 ▲0.22 | 80.98 ▲17.47 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.20 ▼0.05 | 101.36 ▼2.88 | 43.48 ▼0.41 |
Access /wp-admin/edit-tags.php?taxonomy=access&post_type=page | 1,289 | 2.14 | 26.96 | 28.98 |
Access /wp-admin/edit-tags.php?taxonomy=access&post_type=attachment | 1,286 | 2.17 | 28.48 | 32.35 |
Access /wp-admin/edit-tags.php?taxonomy=access | 1,286 | 2.14 | 28.68 | 30.67 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 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/access/access.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== access ===
)
access/access.php Passed 13 tests
The principal PHP file in "Access" v. 0.5.1 is loaded by WordPress automatically on each request
84 characters long description:
Control content access via a taxonomy that accepts user IDs, roles, or capabilities.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin145 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 6 | 14 | 76 |
Markdown | 1 | 27 | 0 | 69 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
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 | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin