Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.58ms] Passed 4 tests
Server-side resources used by Credibility
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.68 ▼6.06 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.58 ▼12.05 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.01 ▲2.80 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 82.59 ▼10.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.91 ▲2.36 |
Credibility /wp-admin/options-general.php?page=mbm_credibility | 3.24 | 28.81 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
mbm_credibility_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Credibility
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.25 ▼1.14 | 1.63 ▼0.10 | 36.89 ▼6.17 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼1.01 | 112.82 ▲0.10 | 44.07 ▼1.35 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.00 ▼0.02 | 34.29 ▼3.16 | 32.87 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 23.11 ▼0.01 | 647.04 ▼1.46 | 48.82 ▼3.14 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.19 ▲0.02 | 96.93 ▼1.52 | 40.68 ▼2.39 |
Credibility /wp-admin/options-general.php?page=mbm_credibility | 884 | 2.03 | 24.17 | 29.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- mbm_credibility_options
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/credibility/credibility.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: credibility, footnotes, attribution
credibility/credibility.php Passed 13 tests
The entry point to "Credibility" version 1.22 is a PHP file that has certain tags in its header comment area
110 characters long description:
Allows you to easily add footnotes anywhere in your theme by using the credibility_footnotes_display function.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin249 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 23 | 203 |
CSS | 1 | 4 | 0 | 23 |
JavaScript | 1 | 5 | 7 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce_button.png | 3.00KB | 1.67KB | ▼ 44.39% |