Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.10MB] [CPU: ▼354.40ms] Passed 4 tests
Server-side resources used by SEO with FanNewscast
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 55.41 ▲2.11 |
Dashboard /wp-admin | 3.23 ▼0.18 | 17.64 ▼16.16 |
Posts /wp-admin/edit.php | 3.23 ▼0.41 | 17.81 ▼19.72 |
Add New Post /wp-admin/post-new.php | 3.23 ▼3.74 | 18.84 ▼1,372.10 |
Media Library /wp-admin/upload.php | 3.23 ▼0.06 | 16.29 ▼9.61 |
Server storage [IO: ▲0.09MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 16 new options
New WordPress options |
---|
fnc_appid |
fnc_query |
fnc_ajax |
fnc_css |
fnc_ck |
fnc_social_template |
fnc_range |
fnc_img_template |
fnc_sortmenu |
fnc_searchbox_template |
... |
Browser metrics Passed 4 tests
A check of browser resources used by SEO with FanNewscast
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲99 | 15.61 ▼0.43 | 6.21 ▲0.54 | 2.40 ▲0.17 |
Dashboard /wp-admin | 2,934 ▲76 | 6.02 ▼0.13 | 120.13 ▼10.58 | 183.88 ▲22.73 |
Posts /wp-admin/edit.php | 2,730 ▲36 | 3.24 ▲0.01 | 63.43 ▲0.52 | 141.87 ▼4.92 |
Add New Post /wp-admin/post-new.php | 1,744 ▲33 | 21.21 ▼0.21 | 411.92 ▼69.23 | 190.25 ▲37.36 |
Media Library /wp-admin/upload.php | 1,738 ▲40 | 5.54 ▼0.01 | 127.36 ▼12.55 | 209.98 ▲24.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5600
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 16 options in the database
- fnc_ajax
- fnc_sortmenu
- fnc_yt_img_template
- fnc_social_template
- fnc_sort_template
- fnc_noitems_template
- fnc_css
- fnc_entry_template
- fnc_img_template
- fnc_ck
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seo-with-fannewscast/tmpl_list.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_ajax.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_entry.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_search.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_social.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_noitems.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_sort.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_yt_img.php
- > /wp-content/plugins/seo-with-fannewscast/tmpl_img.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-with-fannewscast/seo-with-fannewscast.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/seo-with-fannewscast/settings.php:21
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
seo-with-fannewscast/seo-with-fannewscast.php 92% from 13 tests
The main PHP script in "SEO with FanNewscast" version 2.1.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 401 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,149 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 156 | 84 | 1,078 |
CSS | 1 | 8 | 0 | 71 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 12 | |
▷ Named functions | 12 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_gplus.png | 3.10KB | 0.46KB | ▼ 85.22% |
images/icon_linkedin.png | 3.06KB | 0.54KB | ▼ 82.43% |
images/social-sharing-sprite.png | 1.35KB | 1.25KB | ▼ 6.82% |
images/search_grey.png | 0.30KB | 0.21KB | ▼ 29.26% |
images/icon_s.png | 3.47KB | 0.93KB | ▼ 73.25% |