83% appifire-for-mobile-apps

Code Review | AppiFire for Mobile Apps

WordPress plugin AppiFire for Mobile Apps scored83%from 54 tests.

About plugin

  • Plugin page: appifire-for-mobi...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: May 8, 2018
  • Latest release: Nov 28, 2018
  • Number of updates: 7
  • Update frequency: every 29.3 days
  • Top authors: appifire (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /771 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼7.41ms] Passed 4 tests

An overview of server-side resources used by AppiFire for Mobile Apps
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0141.09 ▼0.58
Dashboard /wp-admin3.32 ▼0.0347.83 ▼16.42
Posts /wp-admin/edit.php3.37 ▲0.0148.61 ▼3.93
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.61 ▼8.69
Media Library /wp-admin/upload.php3.24 ▲0.0137.23 ▲1.03

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

AppiFire for Mobile Apps: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.30 ▼1.071.79 ▲0.0344.09 ▲4.16
Dashboard /wp-admin2,206 ▲155.79 ▼0.1098.13 ▼5.7739.11 ▼0.15
Posts /wp-admin/edit.php2,089 ▼31.99 ▲0.0133.63 ▼5.7433.76 ▼5.09
Add New Post /wp-admin/post-new.php1,544 ▲3018.36 ▲0.55658.47 ▲3.9860.00 ▲3.18
Media Library /wp-admin/upload.php1,388 ▲34.17 ▼0.2396.30 ▼1.8143.40 ▼0.57

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
The following issues need your attention
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/appifire-for-mobile-apps/appifire.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Contributors: Contributors not specified
  • Plugin Name: You should set the name of your plugin on the first line ( === appifire-for-mobile-apps === )
Please take inspiration from this readme.txt

appifire-for-mobile-apps/appifire.php 85% from 13 tests

The principal PHP file in "AppiFire for Mobile Apps" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("appifire-for-mobile-apps.php" instead of "appifire.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)

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
Success! There were no dangerous files found in this plugin44 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.04
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected