Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.35ms] Passed 4 tests
An overview of server-side resources used by Internet Archive Media Library
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.27 ▲3.23 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.86 ▼16.74 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.52 ▲4.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.26 ▼3.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.27 ▼0.79 |
Internet Archive Media Library /wp-admin/upload.php?page=internet-archive-media-library-management | 3.24 | 32.30 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
iaml_prefix |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Internet Archive Media Library
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲43 | 13.74 ▼0.61 | 1.62 ▼0.39 | 40.77 ▼7.29 |
Dashboard /wp-admin | 2,221 ▲47 | 4.95 ▼0.57 | 94.71 ▲0.48 | 40.08 ▲0.75 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.36 ▲0.37 | 40.47 ▲2.38 | 36.43 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.41 ▼0.11 | 684.59 ▲22.71 | 37.51 ▼19.66 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.56 ▲0.27 | 101.29 ▼5.38 | 46.19 ▼0.75 |
Internet Archive Media Library /wp-admin/upload.php?page=internet-archive-media-library-management | 1,075 | 2.38 | 34.65 | 43.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: archiveorg media library, archiveorg mapping, internet archive, internet archive mapping, internet archive media library...
media-library-internet-archive-content/internet-archive-media-library.php 92% from 13 tests
Analyzing the main PHP file in "Internet Archive Media Library" version 1.0.2
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("media-library-internet-archive-content.php" instead of "internet-archive-media-library.php")
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
No dangerous file extensions were detected760 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 33 | 155 | 406 |
PHP | 3 | 74 | 57 | 263 |
JavaScript | 1 | 13 | 13 | 48 |
Markdown | 1 | 15 | 0 | 43 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 14.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin