Benchmarks
Plugin footprint 83% from 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.06MB] [CPU: ▼3.24ms] Passed 4 tests
A check of server-side resources used by Auranet Recent Photos
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.84 ▼1.59 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.67 ▲0.38 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.45 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.98 ▼8.91 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.94 ▲7.23 |
Aura Fotos Recentes /wp-admin/options-general.php?page=ARP_recent_photos_menu | 3.26 | 35.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Auranet Recent Photos
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.27 ▼1.03 | 1.75 ▼1.06 | 43.17 ▼5.65 |
Dashboard /wp-admin | 2,216 ▲25 | 5.88 ▲0.72 | 101.60 ▼8.45 | 42.89 ▲3.22 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.05 ▲0.06 | 38.75 ▼0.17 | 32.94 ▼4.34 |
Add New Post /wp-admin/post-new.php | 1,523 ▼12 | 22.96 ▼0.29 | 631.15 ▲7.12 | 53.95 ▼0.33 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.29 ▲0.07 | 95.95 ▼7.80 | 41.82 ▼0.73 |
Aura Fotos Recentes /wp-admin/options-general.php?page=ARP_recent_photos_menu | 935 | 1.72 | 29.77 | 31.52 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/auranet-recent-photos/auranet-recent-photos.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
5 plugin tags: fotos, instagram, imagens, perfil, simples
auranet-recent-photos/auranet-recent-photos.php Passed 13 tests
The entry point to "Auranet Recent Photos" version 2.0 is a PHP file that has certain tags in its header comment area
137 characters long description:
Auranet Recent Photos exibe as últimas fotos de um usuário do Instagram previamente configuradas em seu site Wordpress. Use [instagram]
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 detected1,021 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 138 | 37 | 829 |
PHP | 1 | 2 | 7 | 136 |
PO File | 1 | 17 | 34 | 53 |
CSS | 1 | 0 | 0 | 2 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |