Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/magic-seo-image-for-nextgen/PictureListTable.php+2
session_start(): A session had already been started - ignoring
Server metrics [RAM: ▼1.84MB] [CPU: ▼56.75ms] Passed 4 tests
Analyzing server-side resources used by Magic SEO Image For NextGen
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.04 ▲0.35 |
Dashboard /wp-admin | 2.11 ▼1.23 | 8.08 ▼58.08 |
Posts /wp-admin/edit.php | 2.11 ▼1.24 | 5.34 ▼44.26 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 5.69 ▼97.43 |
Media Library /wp-admin/upload.php | 2.11 ▼1.11 | 7.22 ▼27.22 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Magic SEO Image For NextGen
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.24 ▼1.01 | 2.01 ▲0.36 | 43.40 ▲0.73 |
Dashboard /wp-admin | 2,224 ▲36 | 4.96 ▼0.94 | 96.04 ▼13.81 | 75.27 ▲35.99 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 1.98 ▼0.19 | 34.77 ▼2.64 | 31.52 ▼2.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.09 ▲4.83 | 773.34 ▲128.03 | 58.18 ▲8.74 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.15 ▼0.07 | 102.44 ▲3.63 | 84.04 ▲39.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/magic-seo-image-for-nextgen/PictureListTable.php+2
session_start(): A session had already been started - ignoring
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/magic-seo-image-for-nextgen/magic-seo-image-for-nextgen.php
- > /wp-content/plugins/magic-seo-image-for-nextgen/Repo.php
- > /wp-content/plugins/magic-seo-image-for-nextgen/OptionPage.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/magic-seo-image-for-nextgen/PictureListTable.php on line 5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/magic-seo-image-for-nextgen/PictureListTable.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/magic-seo-image-for-nextgen/PictureListTable.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== magic-seo-image-for-nextgen ===
) - Tags: There are too many tags (11 tag instead of maximum 10)
magic-seo-image-for-nextgen/magic-seo-image-for-nextgen.php 92% from 13 tests
The main PHP script in "Magic SEO Image For NextGen" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected675 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 204 | 112 | 460 |
CSS | 2 | 7 | 5 | 83 |
PO File | 1 | 28 | 37 | 67 |
JavaScript | 5 | 25 | 12 | 65 |
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.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 37 | |
▷ Static methods | 1 | 2.70% |
▷ Public methods | 36 | 97.30% |
▷ Protected methods | 1 | 2.70% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin