Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.69ms] Passed 4 tests
An overview of server-side resources used by Indexhibit 2 Importer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.63 ▼3.18 |
Dashboard /wp-admin | 3.39 ▲0.08 | 53.13 ▼0.18 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.97 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.68 ▼8.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.13 ▼1.26 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Indexhibit 2 Importer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.23 | 1.83 ▼0.13 | 48.58 ▼1.38 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.08 | 87.41 ▼8.30 | 43.33 ▼1.80 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.09 | 35.19 ▼8.19 | 32.25 ▼3.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼1 | 23.34 ▲0.18 | 682.44 ▼14.24 | 55.08 ▲1.89 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.24 ▲0.05 | 97.41 ▼3.61 | 45.14 ▼3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
2 plugin tags: indexhibit, importer
indexhibit2-importer/indexhibit2-importer.php Passed 13 tests
The principal PHP file in "Indexhibit 2 Importer" v. 1.0.5 is loaded by WordPress automatically on each request
58 characters long description:
Import exhibits and media files from an Indexhibit 2 site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected464 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 117 | 464 |
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.30 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected