Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.96ms] Passed 4 tests
Server-side resources used by Localizaciones Fotografía
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.05 ▼4.78 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.87 ▼5.41 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.30 ▼4.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.98 ▼5.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.60 ▲0.51 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Localizaciones Fotografía
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.27 ▼1.48 | 4.27 ▲2.17 | 39.53 ▼8.13 |
Dashboard /wp-admin | 2,206 ▲21 | 4.84 ▼0.07 | 96.62 ▼22.64 | 41.39 ▼6.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.07 | 39.22 ▼2.04 | 34.58 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.50 ▼0.60 | 690.35 ▲75.83 | 60.76 ▲5.57 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▲0.03 | 96.22 ▼0.37 | 40.41 ▼4.90 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/localizaciones-fotografia/localizaciones-fotografia.php
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== localizaciones-fotografia ===
) - Screenshots: These screenshots do not have images: #1 (Una vez activado el plugin podeis ir en la parte de `Ajustes -> Lectura` para ver la configuración del plugin `/assets/screen1.jpg`), #2 (Para poder utilizar el plugin tan solo hay que insertar el siguiente código indicando la anchura y la altura del mapa `[subexpuesta width="600" height="350"][/subexpuesta]` `/assets/screen2.jpg`), #3 (Ahí tenemos nuestro mapa `/assets/screen3.jpg`)
localizaciones-fotografia/localizaciones-fotografia.php Passed 13 tests
"Localizaciones Fotografía" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
79 characters long description:
Mapa con localizaciones de fotografía nocturna alojadas en www.subexpuesta.com
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin231 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 195 | 1,081 | 228 |
CSS | 1 | 0 | 0 | 3 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 55.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 106 | 97.25% |
▷ Protected methods | 3 | 2.75% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 27 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 27 | 100.00% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin