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.02MB] [CPU: ▼3.37ms] Passed 4 tests
Analyzing server-side resources used by ABBR Hint Content
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.73 ▼2.41 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.80 ▼1.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.20 ▼2.41 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.86 ▼7.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.69 ▲0.03 |
All Hints /wp-admin/edit.php?post_type=hint | 3.29 | 45.13 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ABBR Hint Content
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 13.95 ▼0.42 | 1.70 ▲0.15 | 41.48 ▲3.34 |
Dashboard /wp-admin | 2,205 ▲28 | 5.63 ▲0.09 | 85.61 ▼16.91 | 37.11 ▼3.47 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.02 | 34.39 ▼3.85 | 30.87 ▼7.61 |
Add New Post /wp-admin/post-new.php | 1,534 ▼13 | 23.00 ▼1.78 | 621.65 ▲8.11 | 77.18 ▼9.55 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.01 | 98.29 ▲2.11 | 42.65 ▲2.11 |
All Hints /wp-admin/edit.php?post_type=hint | 1,050 | 1.98 | 31.57 | 28.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/abbr-hint-content/abbr-hint.php
- > /wp-content/plugins/abbr-hint-content/inc/loader.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: opquast, abbr, lightweight, acronyms, rcag...
abbr-hint-content/abbr-hint.php 92% from 13 tests
The principal PHP file in "ABBR Hint Content" v. 0.7.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("abbr-hint-content.php" instead of "abbr-hint.php")
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
Everything looks great! No dangerous files found in this plugin132 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 35 | 100 |
Markdown | 1 | 21 | 0 | 32 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin