Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼128.34ms] Passed 4 tests
This is a short check of server-side resources used by Audiomack
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 33.46 ▲11.90 |
Dashboard /wp-admin | 3.16 ▲0.11 | 61.71 ▲19.24 |
Posts /wp-admin/edit.php | 3.21 ▲0.09 | 72.79 ▲23.09 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 91.54 ▼546.15 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 34.43 ▲1.64 |
Audiomack /wp-admin/options-general.php?page=audiomack/audiomack.php | 3.07 | 26.22 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Audiomack
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,738 ▲101 | 16.50 ▲0.60 | 10.10 ▼0.11 | 54.98 ▲2.83 |
Dashboard /wp-admin | 3,002 ▲65 | 6.56 ▲0.58 | 175.84 ▲29.48 | 129.81 ▲11.46 |
Posts /wp-admin/edit.php | 2,777 ▲38 | 3.00 ▲0.30 | 71.95 ▲9.69 | 108.10 ▲15.25 |
Add New Post /wp-admin/post-new.php | 1,704 ▲32 | 21.51 ▲2.50 | 382.68 ▲4.94 | 109.56 ▼7.53 |
Media Library /wp-admin/upload.php | 1,842 ▲35 | 5.40 ▲0.38 | 130.27 ▼17.90 | 123.98 ▲1.52 |
Audiomack /wp-admin/options-general.php?page=audiomack/audiomack.php | 2,288 | 16.42 | 644.07 | 120.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/audiomack/audiomack.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=audiomack/audiomack.php
- > Network (severe)
https://firebase.googleapis.com/v1alpha/projects/-/apps/1:122326890670:web:d98d4dc4d7f74598ead53f/webConfig - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Popup dialog in edit page/post), #2 (Shows embed code for song and album)
- Tags: You are using too many tags: 15 tag instead of maximum 10
audiomack/audiomack.php Passed 13 tests
This is the main PHP file of "Audiomack" version 1.4.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
140 characters long description:
Audiomack is the place for artists to effortlessly share their music and for fans to discover and download free songs, albums and playlists.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin874 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 136 | 219 | 689 |
CSS | 2 | 18 | 5 | 80 |
XML | 2 | 0 | 0 | 62 |
JavaScript | 4 | 5 | 26 | 43 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.49MB with 0.35MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 169.32KB | 48.60KB | ▼ 71.30% |
screenshot-1.png | 162.18KB | 45.10KB | ▼ 72.19% |
screenshot-3.png | 169.32KB | 48.60KB | ▼ 71.30% |