Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.90MB] [CPU: ▼34.36ms] Passed 4 tests
An overview of server-side resources used by Archiver
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 5,033.20 ▲4,996.71 |
Dashboard /wp-admin | 3.05 ▼0.26 | 23.89 ▼27.00 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 24.14 ▼25.85 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 22.94 ▼73.18 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 21.33 ▼11.41 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Archiver
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲155 | 13.55 ▼0.80 | 8.04 ▲6.11 | 35.60 ▼8.88 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▼0.01 | 93.95 ▼13.13 | 36.06 ▼9.30 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▲0.03 | 35.55 ▲1.83 | 33.63 ▼2.02 |
Add New Post /wp-admin/post-new.php | 6,232 ▲4,712 | 21.69 ▼1.57 | 826.11 ▲153.99 | 57.85 ▲1.24 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.01 | 101.78 ▼1.54 | 43.90 ▼2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/archiver/includes/class-archiver.php+390
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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
5 plugin tags: archive, machine, wayback, post, content
archiver/archiver.php Passed 13 tests
The principal PHP file in "Archiver" v. 1.0.5 is loaded by WordPress automatically on each request
47 characters long description:
Archive your content using the Wayback Machine.
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 plugin473 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 188 | 387 | 379 |
CSS | 2 | 8 | 4 | 51 |
JavaScript | 2 | 17 | 6 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 28 | 93.33% |
▷ Protected methods | 2 | 6.67% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin