Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.92ms] Passed 4 tests
Server-side resources used by Connections Business Directory Certifications
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.56 ▼8.80 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.00 ▼7.36 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 43.99 ▼3.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.73 ▼9.93 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 31.97 ▼5.60 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Connections Business Directory Certifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.32 ▼0.96 | 3.79 ▲1.65 | 36.49 ▼12.12 |
Dashboard /wp-admin | 2,215 ▲30 | 4.88 ▼0.07 | 114.70 ▼1.76 | 45.48 ▼1.40 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.98 ▼0.06 | 33.36 ▼2.01 | 31.50 ▼4.55 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 17.57 ▼0.03 | 670.19 ▼25.28 | 67.65 ▲11.25 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.33 ▲0.14 | 95.96 ▼11.35 | 41.61 ▼6.69 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Add new business certifications admin page.), #2 (Assign certifications to business directory listing.), #3 (Certification Content Block.), #4 (Certification widget display.)
connections-business-directory-certifications/connections-certifications.php 77% from 13 tests
The principal PHP file in "Connections Business Directory Certifications" v. 1.4.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("connections-business-directory-certifications.php" instead of "connections-certifications.php")
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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 plugin904 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 271 | 473 | 704 |
PO File | 2 | 49 | 76 | 188 |
CSS | 1 | 1 | 1 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 23 | |
▷ Static methods | 18 | 78.26% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin