Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.76ms] Passed 4 tests
Analyzing server-side resources used by NarraFirma
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.72 ▼2.62 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.10 ▼2.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.63 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.10 ▼14.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.20 ▼7.50 |
Server storage [IO: ▲11.65MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 384 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by NarraFirma
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.33 ▲0.12 | 1.79 ▲0.13 | 43.36 ▼3.50 |
Dashboard /wp-admin | 2,211 ▲34 | 5.59 ▼0.06 | 89.75 ▲2.12 | 40.30 ▼1.58 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.95 ▼0.09 | 40.06 ▲2.86 | 35.33 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,539 ▲22 | 23.00 ▲4.29 | 649.32 ▲103.57 | 55.22 ▲2.40 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.17 ▼0.05 | 95.18 ▼18.96 | 42.51 ▼6.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/narrafirma/narrafirma.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Please specify the plugin name on the first line (
=== narrafirma ===
)
narrafirma/narrafirma.php Passed 13 tests
The main PHP file in "NarraFirma" ver. 1.6.5 adds more information about the plugin and also serves as the entry point for this plugin
138 characters long description:
Participatory Narrative Inquiry in a box. Gather stories and make sense of challenges and opportunities in your community or organization.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin156,040 lines of code in 328 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 7,971 | 42,443 | 96,588 |
TypeScript | 195 | 6,445 | 8,688 | 45,563 |
HTML | 72 | 1,202 | 4 | 10,308 |
CSS | 5 | 669 | 94 | 2,728 |
PHP | 1 | 217 | 175 | 594 |
SVG | 35 | 0 | 2 | 259 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 23 | 95.83% |
▷ Anonymous functions | 1 | 4.17% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
46 PNG files occupy 2.65MB with 1.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
webapp/images/PNIPhasesDiagram.png | 40.83KB | 16.14KB | ▼ 60.47% |
webapp/help/collection/help_importGuide_questionImportOptions.png | 208.96KB | 75.96KB | ▼ 63.65% |
webapp/help/collection/help_startStoryCollection_rawData.png | 25.63KB | 7.15KB | ▼ 72.11% |
webapp/help/collection/questionTypeThumbnail_checkbox.png | 9.02KB | 3.07KB | ▼ 66.00% |
webapp/help/catalysis/graphThumbnail_multiHistograms.png | 6.82KB | 2.29KB | ▼ 66.48% |