Benchmarks
Plugin footprint Passed 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.09MB] [CPU: ▼137.66ms] Passed 4 tests
This is a short check of server-side resources used by Expert Finder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 32.89 ▲11.36 |
Dashboard /wp-admin | 3.14 ▲0.08 | 48.64 ▲4.38 |
Posts /wp-admin/edit.php | 3.25 ▲0.13 | 47.96 ▼1.34 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 93.52 ▼552.43 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 34.22 ▼1.25 |
Expert Finder /wp-admin/options-general.php?page=expertfinder-setting-admin | 3.07 | 31.03 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Expert Finder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲47 | 15.79 ▲0.25 | 7.65 ▼1.40 | 48.25 ▼0.54 |
Dashboard /wp-admin | 2,978 ▲47 | 5.89 ▼0.04 | 138.19 ▼6.13 | 108.82 ▼14.61 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.01 | 70.15 ▲4.04 | 96.03 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,675 ▲3 | 18.86 ▲0.05 | 372.87 ▲9.84 | 112.48 ▼0.20 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.05 | 148.87 ▲6.63 | 118.63 ▲1.77 |
Expert Finder /wp-admin/options-general.php?page=expertfinder-setting-admin | 1,540 | 2.10 | 60.97 | 142.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Requires at least: Invalid plugin version format
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
expert-finder/expert-finder.php Passed 13 tests
The main PHP script in "Expert Finder" version 1.0.0 is automatically included on every request by WordPress
119 characters long description:
This WordPress plugin provides a search engine to find experts who created or commented various WordPress content types
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin801 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 211 | 331 | 791 |
JSON | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 3 | 17.65% |
▷ Concrete classes | 14 | 82.35% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 8 | 8.08% |
▷ Public methods | 50 | 50.51% |
▷ Protected methods | 27 | 27.27% |
▷ Private methods | 22 | 22.22% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin